ci: configura pipeline di integrazione continua
Continuous Integration / Quality Assurance (push) Canceled after 0s

This commit is contained in:
2026-08-06 15:36:53 +02:00
parent 62bc8eb00c
commit a8ad01d04c
3 changed files with 141 additions and 71 deletions
+47
View File
@@ -0,0 +1,47 @@
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