Skip to content

chore(deps): update dependency pytest-cov to v5 #1723

chore(deps): update dependency pytest-cov to v5

chore(deps): update dependency pytest-cov to v5 #1723

Workflow file for this run

name: Test PyDNGConverter
on:
pull_request: ~
push:
branches:
- master
env:
POETRY_VERSION: 1.4.0
concurrency:
group: main-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
test:
name: ${{ matrix.os }} @ Py v${{ matrix.python }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, macOS-12, ubuntu-latest]
python: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Setup Poetry
run: pipx install poetry==${{ env.POETRY_VERSION }}
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
cache: "poetry"
- name: Install Dependencies
run: poetry install -vv
- name: Run Tests
run: poetry run pytest --cov --cov-config=pyproject.toml --junit-xml=test_log.xml --cov-report=xml:cov.xml -vv -ra
- name: Upload Codecov
uses: codecov/codecov-action@v3
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python }}
with:
files: ./cov.xml
fail_ci_if_error: false
flags: unittests,py-${{ matrix.python }},os-${{ matrix.os }}
env_vars: OS,PYTHON