Skip to content

Bump pytest-cov from 5.0.0 to 6.0.0 #252

Bump pytest-cov from 5.0.0 to 6.0.0

Bump pytest-cov from 5.0.0 to 6.0.0 #252

Workflow file for this run

name: PR
on:
pull_request:
branches: [develop]
paths:
- "src/**"
- "tests/**"
- setup.cfg
- setup.py
- tox.ini
- "requirements/**"
- "docs/**"
jobs:
tests:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- {
name: Linux,
python: "3.11",
os: ubuntu-latest,
tox: py311,
}
# - {
# name: Windows,
# python: "3.11",
# os: windows-latest,
# tox: py311,
# }
# - { name: Mac, python: "3.11", os: macos-latest, tox: py311 }
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: update-pip
run: |
pip install -U wheel
pip install -U setuptools
python -m pip install -U pip
- name: get-pip-cache-dir
id: pip-cache
run: echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
- name: cache-pip
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: pip|${{ runner.os }}|${{ matrix.python }}|${{ hashFiles('setup.py') }}|${{ hashFiles('requirements/*.txt') }}
- name: install-utils
run: pip install tox
# - name: lint
# run: black --check -t py311 --diff --color src
- name: tests
run: tox -e ${{ matrix.tox }}