Skip to content

Bump pytest from 8.3.2 to 8.3.3 #199

Bump pytest from 8.3.2 to 8.3.3

Bump pytest from 8.3.2 to 8.3.3 #199

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
ci-pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install project
run: pip install -e .[check,test]
- name: run pre-commit
run: "pre-commit run --all"
ci-test:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
pylint-version: ["2.17.*", "2.*", "3.*"]
invoke-version: ["2.0.*", "2.*"]
exclude:
# pylint 2.x does not support 3.12
- python-version: "3.12"
pylint-version: "2.17.*"
- python-version: "3.12"
pylint-version: "2.*"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install project
run: pip install -e .[test]
- name: "Install dependencies"
run: "pip install -U pylint==${{ matrix.pylint-version }} invoke==${{ matrix.invoke-version }}"
- name: run tests (with coverage)
run: "pytest --cov invoke_plugin_for_pylint --cov-report html --cov-report xml tests/"
- name: run diff-cover
run: "diff-cover --config-file pyproject.toml coverage.xml"