Skip to content

docs: update paths to config videos in README #66

docs: update paths to config videos in README

docs: update paths to config videos in README #66

Workflow file for this run

name: Unit tests
on:
push:
branches: [main, refactor]
pull_request:
branches: [main]
jobs:
test:
name: "Tests: Python ${{ matrix.python-version }} on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.12", "3.13", "3.14"]
steps:
- name: Checkout code
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@v5
with:
enable-cache: true
- name: Install dependencies
run: |
uv sync --python ${{ matrix.python-version }}
- name: Run tests
if: ${{ !(matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12') }}
run: |
uv run --python ${{ matrix.python-version }} pytest tests/ -v -n auto
- name: Run tests with coverage
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
run: |
uv run --python ${{ matrix.python-version }} pytest tests/ --cov=fit_file_faker --cov-report=xml --cov-report=term-missing -n auto
- name: Upload coverage to Codecov
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
uses: codecov/codecov-action@v5
with:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}