Files
larry a8ad01d04c
Continuous Integration / Quality Assurance (push) Canceled after 0s
ci: configura pipeline di integrazione continua
2026-08-06 15:36:53 +02:00

48 lines
855 B
YAML

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
quality:
name: Quality Assurance
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Upgrade pip
run: |
python -m pip install --upgrade pip
- name: Install project
run: |
python -m pip install -e ".[dev]"
- name: Ruff
run: |
python -m ruff check .
python -m ruff format --check .
- name: MyPy
run: |
python -m mypy .
- name: Test & Coverage
run: |
python -m coverage run -m pytest
python -m coverage report