From f3a8191ffce46756b6a3c0a37126242e447dcc3b Mon Sep 17 00:00:00 2001 From: James Ravenscroft Date: Sun, 8 Dec 2024 16:26:38 +0000 Subject: [PATCH] add tests --- .gitea/workflows/run-tests.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitea/workflows/run-tests.yml diff --git a/.gitea/workflows/run-tests.yml b/.gitea/workflows/run-tests.yml new file mode 100644 index 0000000..7efb471 --- /dev/null +++ b/.gitea/workflows/run-tests.yml @@ -0,0 +1,29 @@ +name: Run Tests + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + test: + name: Run Tests + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Install the latest version of uv + uses: astral-sh/setup-uv@v4 + with: + version: "latest" + + - name: Install dependencies + run: uv sync + + - name: Run tests + run: uv run pytest