From d1420dccdaf4bf298f9dac5769bfff658e0cb4e7 Mon Sep 17 00:00:00 2001 From: Mathew Sir Guest the best Date: Sat, 30 May 2026 22:48:51 -0600 Subject: [PATCH] ci: add Gitea Actions Python version matrix Co-Authored-By: Claude Opus 4.8 (1M context) --- .gitea/workflows/test.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .gitea/workflows/test.yml diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml new file mode 100644 index 0000000..298aca2 --- /dev/null +++ b/.gitea/workflows/test.yml @@ -0,0 +1,30 @@ +name: tests + +on: + push: + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + steps: + - uses: actions/checkout@v4 + + - name: Install uv + uses: astral-sh/setup-uv@v5 + + - name: Install Python ${{ matrix.python-version }} + run: uv python install ${{ matrix.python-version }} + + - name: Create venv + run: uv venv --python ${{ matrix.python-version }} + + - name: Install project and pytest + run: uv pip install . pytest + + - name: Run smoke tests + run: uv run pytest -v