Repository navigation
build(deps): bump cachetools from 5.3.2 to 7.1.8 #589
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: [master] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| version: "0.11.26" | |
| enable-cache: true | |
| - uses: actions/cache@v3 | |
| with: | |
| path: ~/.cache/pre-commit | |
| key: pre-commit-${{ runner.os }}-${{ hashFiles('.python-version', '.pre-commit-config.yaml') }} | |
| - name: Install dependencies | |
| run: uv sync --locked | |
| - name: Run tests | |
| run: uv run --locked pytest | |
| - name: Run pre-commit | |
| run: uv run --locked pre-commit run --verbose --all-files --show-diff-on-failure | |
| # FIXME: mypy is failing due to missing types-* packages | |
| # - name: Run mypy | |
| # run: uv run --locked mypy algorithms_keeper/ tests/ | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v3 |