From 5115f72db644d2a6441c8c207f720e9739a75539 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 22 Oct 2024 11:57:33 -0500 Subject: [PATCH] ci: add tests workflow --- .github/workflows/tests.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..2b5fc4b --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,30 @@ +name: Run Tests + +on: + push: + branches: + - main + workflow_dispatch: + workflow_call: + + +jobs: + tests: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - uses: actions/checkout@v4 + + - name: Install uv + uses: astral-sh/setup-uv@v3 + + - name: Set up Python + run: uv python install + + - name: Install the project + run: uv sync + + - name: run tests + run: ./tasks.py tests +