Repository navigation
build(deps): bump actions/setup-python from 5 to 7 #7
Workflow file for this run
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: ["**"] | |
| pull_request: | |
| branches: ["**"] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: "pip" | |
| - name: Install project and dev dependencies | |
| run: pip install -e ".[dev]" | |
| - name: Install linting and type-checking tools | |
| run: pip install ruff mypy | |
| - name: Lint with ruff | |
| run: ruff check src/ tests/ | |
| - name: Type-check with mypy | |
| run: mypy src/ | |
| - name: Run tests with coverage | |
| run: pytest --cov=event_sourcing --cov-report=term-missing |