name: CI on: push: pull_request: workflow_dispatch: jobs: lint: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v5 - name: Setup uses: ./.gitea/actions/install with: python_version: "3.12" - name: Format run: | source .venv/bin/activate ruff format --check test: runs-on: ubuntu-latest needs: "lint" strategy: matrix: python-version: ["3.11", "3.12", "3.13"] steps: - name: Checkout code uses: actions/checkout@v5 - name: Setup uses: ./.gitea/actions/install with: python_version: ${{ matrix.python-version }} - name: Run Pytest with Coverage run: | source .venv/bin/activate pytest --random-order --cov=./ --cov-config=./pyproject.toml --cov-branch --cov-report=xml --no-cov-on-fail ./tests/