Skip to content

CI: attempt to fix code coverage step #100

CI: attempt to fix code coverage step

CI: attempt to fix code coverage step #100

Workflow file for this run

name: build
on:
push:
branches:
- main
tags:
- "*-[0-9]+.*"
pull_request:
branches:
- main
jobs:
build:
name: ${{ matrix.platform }} py${{ matrix.python-version }}
runs-on: ${{ matrix.platform }}
strategy:
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.9', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Set up uv
run: |
python -m pip install --upgrade pip
python -m pip install uv
- name: Run tests
run: |
bin/test.sh --cov-report=xml --cov=.
- name: Lint code
run: |
bin/lint.sh
- name: Upload coverage
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
uses: codecov/codecov-action@v4