Skip to content

Remove duplicate Python version from tox environment list #1

Remove duplicate Python version from tox environment list

Remove duplicate Python version from tox environment list #1

Workflow file for this run

name: Test
permissions: read-all
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: latest
- name: Install dependencies
run: |
uv sync --dev
- name: Run tests with coverage
run: |
uv run pytest --cov=dpn_pyutils --cov-report=xml --cov-report=term-missing
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false