From 8309b3d6e2cbc777da8073acf87a0710a869644f Mon Sep 17 00:00:00 2001 From: STACiA <69411527+staciax@users.noreply.github.com> Date: Mon, 30 Dec 2024 00:59:04 +0700 Subject: [PATCH] add test actions --- .github/workflows/test.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..8c47418 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,31 @@ +name: test + +on: + push: + pull_request: + branches: + - master + types: + - opened + - reopened + - synchronize + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version-file: ".python-version" + + - name: Install uv + uses: astral-sh/setup-uv@v5 + with: + version: "0.5.x" + enable-cache: true + + - run: uv run make test