Skip to content

Merge pull request #81 from MarcoMuellner/80-modulenotfounderror-no-m… #188

Merge pull request #81 from MarcoMuellner/80-modulenotfounderror-no-m…

Merge pull request #81 from MarcoMuellner/80-modulenotfounderror-no-m… #188

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- run: pip install poetry==1.3.1
- run: poetry install
- run: poetry run pytest
- run: poetry run pytest --cov=src/ --cov-report=xml --cov-fail-under 90 --cov-config=.coveragerc
- uses: codecov/codecov-action@v2
if: always()
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/reports/
env_vars: OS,PYTHON
fail_ci_if_error: true
files: ./coverage.xml
flags: unittests
name: codecov-umbrella-${{ matrix.python-version }}
path_to_write_report: .codecov_report.${{ matrix.python-version }}.txt
verbose: true