Files
AareCommon/.gitea/workflows/ci.yml
T
perl_d 251901cb3d
Full CI / lint (push) Failing after 2s
Full CI / test (3.11) (push) Skipped
Full CI / test (3.12) (push) Skipped
Full CI / test (3.13) (push) Skipped
ci: move setup to action and add format ci step
2026-07-02 13:04:23 +02:00

39 lines
815 B
YAML

name: Full CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- 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: 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/