Skip to content

Chore(deps): Bump actions/checkout from 5 to 6 #209

Chore(deps): Bump actions/checkout from 5 to 6

Chore(deps): Bump actions/checkout from 5 to 6 #209

Workflow file for this run

name: "Tests"
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ] # , macos-latest, windows-latest ]
python-version: [
"3.9",
"3.13",
]
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
UV_SYSTEM_PYTHON: true
name: Python ${{ matrix.python-version }} on OS ${{ matrix.os }}
# https://github.com/actions/setup-python/issues/374#issuecomment-1088938718
steps:
- name: Acquire sources
uses: actions/checkout@v6
- name: Install Graphviz
uses: ts-graphviz/setup-graphviz@v2
- name: Install Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Set up uv
uses: astral-sh/setup-uv@v7
with:
cache-dependency-glob: |
pyproject.toml
cache-suffix: ${{ matrix.python-version }}
enable-cache: true
version: "latest"
- name: Install program with dependencies
run: |
uv pip install .
- name: Run tests, with coverage report
run: |
uv run poe coverage
uv run coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./coverage.xml
flags: main
env_vars: OS,PYTHON
name: codecov-umbrella
fail_ci_if_error: true