Skip to content

Merge branch 'main' into refactor-fasteners #1099

Merge branch 'main' into refactor-fasteners

Merge branch 'main' into refactor-fasteners #1099

Workflow file for this run

name: coverage

Check failure on line 1 in .github/workflows/coverage.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/coverage.yml

Invalid workflow file

(Line: 33, Col: 9): There's not enough info to determine what you meant. Add one of these properties: cancel, run, shell, uses, wait, wait-all, with, working-directory
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
coverage:
if: "!contains(github.event.pull_request.labels.*.name, 'docs-only')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- uses: compas-dev/compas-actions/setup-python@v1
with:
python-version: '3.12'
management-tool: uv
extras: dev
- name: Run pre-build
run: invoke pre-build
- name: Run tests collecting coverage reports
- name: Run tests collecting coverage reports
run: pytest --cov src/compas_timber --cov-report=xml --cov-report=term
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}