Skip to content

Merge pull request #848 from gramaziokohler/merge_pb #1095

Merge pull request #848 from gramaziokohler/merge_pb

Merge pull request #848 from gramaziokohler/merge_pb #1095

Workflow file for this run

name: coverage
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
coverage:
if: "!contains(github.event.pull_request.labels.*.name, 'docs-only')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: astral-sh/setup-uv@v7
with:
python-version: "3.12"
activate-environment: true
- name: Install dependencies
run: |
uv pip install -e ".[dev]"
- name: Run pre-build
run: |
invoke pre-build
- name: Run tests collecting coverage reports
run: |
pytest --cov src/compas_timber --cov-report=html
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}