build(deps): bump cachetools from 5.3.1 to 5.3.2 #539
Workflow file for this run
This file contains 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 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.x" | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cache/pre-commit | |
~/.cache/pip | |
key: pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('.pre-commit-config.yaml') }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install pre-commit mypy | |
python -m pip install -r requirements-dev.txt | |
- name: Run tests | |
run: pytest | |
- name: Run pre-commit | |
run: pre-commit run --verbose --all-files --show-diff-on-failure | |
# FIXME: mypy is failing due to missing types-* packages | |
# - name: Run mypy | |
# run: mypy algorithms_keeper/ tests/ | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 |