Skip to content

chore(deps): update dependency coverage to v7.6.8 #629

chore(deps): update dependency coverage to v7.6.8

chore(deps): update dependency coverage to v7.6.8 #629

Workflow file for this run

name: test-lint-coverage
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
name: "Python ${{ matrix.python-version }}"
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python-version }}"
- uses: snok/install-poetry@v1
with:
version: 1.2.2
virtualenvs-create: true
virtualenvs-in-project: true
- name: cache deps
id: cache-deps
uses: actions/cache@v4
with:
path: .venv
key: pydeps-${{ hashFiles('**/poetry.lock') }}
- run: poetry install --no-interaction --no-root
if: steps.cache-deps.outputs.cache-hit != 'true'
- run: poetry install --no-interaction
- name: Run Tests and generate coverage report
run: |
poetry run pytest --cov . --cov-report=
poetry run coverage xml
- name: Lint
run: poetry run mypy .
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
flags: ${{ matrix.os }}_${{ matrix.python-version }}
verbose: true
fail_ci_if_error: false
file: coverage.xml