build(deps-dev): bump pytest-cov from 4.1.0 to 6.0.0 (#117) #307
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: pytest | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12"] | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up python ${{ matrix.python-version }} | |
id: setup-python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Set up Poetry | |
uses: ./.github/actions/setup-poetry | |
with: | |
groups: main,test | |
python-version: ${{ matrix.python-version }} | |
- name: Print versions | |
run: | | |
python --version | |
poetry --version | |
- name: Test with pytest | |
working-directory: tests | |
run: poetry run pytest |