From f7559bf1401c7c655cffb0bba52deb8007caae2f Mon Sep 17 00:00:00 2001 From: ahtlon Date: Wed, 29 Jul 2026 15:46:10 +0200 Subject: [PATCH] [actions] setup test action --- .gitea/workflows/python.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/python.yml diff --git a/.gitea/workflows/python.yml b/.gitea/workflows/python.yml new file mode 100644 index 0000000..865dc90 --- /dev/null +++ b/.gitea/workflows/python.yml @@ -0,0 +1,19 @@ +name: Test python action + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - name: Set up UV + uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + with: + enable-cache: true + + - name: Install deps + run: uv sync --locked --all-extras --dev + + - name: Run tests + run: uv run pytest test \ No newline at end of file