Skip to content

chore(deps): update codecov/codecov-action action to v5 #202

chore(deps): update codecov/codecov-action action to v5

chore(deps): update codecov/codecov-action action to v5 #202

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
lint-mypy:
name: Lint, Mypy
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install tox
- name: Check code quality with flake8
run: tox -e lint
- name: Check static typing with MyPy
run: tox -e mypy
tests:
name: Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install tox
- name: Test with pytest and generate coverage file
run: tox -e py
- name: Upload coverage report to codecov
uses: codecov/codecov-action@v5
if: success()
with:
file: coverage.xml