Bump actions/setup-python from 5 to 6 #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install cfb (not yet on PyPI) | |
| run: pip install git+https://github.com/rembish/cfb.git | |
| - name: Install dependencies | |
| run: pip install -e ".[dev]" | |
| - name: Check formatting (black) | |
| run: black --check miette tests | |
| - name: Lint (ruff) | |
| run: ruff check miette tests | |
| - name: Type check (mypy) | |
| run: mypy miette | |
| - name: Run tests | |
| run: pytest --cov=miette --cov-report=xml | |
| - name: Upload coverage | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| files: coverage.xml | |
| continue-on-error: true |