From 0607277969a73b9e75009bcf0c47cab6032bc16f Mon Sep 17 00:00:00 2001 From: ahtlon Date: Sun, 9 Aug 2026 13:25:45 +0200 Subject: [PATCH] [actions] setup test action --- .gitea/workflows/python.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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..ed3fddd --- /dev/null +++ b/.gitea/workflows/python.yml @@ -0,0 +1,21 @@ +name: Test python action + +on: [push] + +jobs: + build: + runs-on: node-current + steps: + - uses: actions/checkout@v6 + - name: Set up UV + uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0 + + - run: | + apt update + apt install libpcsclite1 libpcsclite-dev python3-dev -y + + - name: Install deps + run: uv sync --locked --all-extras --dev + + - name: Run tests + run: uv run pytest test \ No newline at end of file