Skip to content

build(deps-dev): bump pytest from 7.4.2 to 7.4.4 #551

build(deps-dev): bump pytest from 7.4.2 to 7.4.4

build(deps-dev): bump pytest from 7.4.2 to 7.4.4 #551

Workflow file for this run

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