Skip to content

Bump pytest-cov from 4.1.0 to 5.0.0 #342

Bump pytest-cov from 4.1.0 to 5.0.0

Bump pytest-cov from 4.1.0 to 5.0.0 #342

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python
on:
push:
branches: [ master ]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
# https://github.com/actions/python-versions/blob/main/versions-manifest.json
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install wheel
pip install .[dev]
- name: Lint and test it
run: make check
# https://coveralls-python.readthedocs.io/en/latest/usage/index.html
# upload coverage report for just one of Python version matrix runs
- name: Upload coverage report to Coveralls
if: matrix.python-version == '3.9'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: coveralls --service=github