Skip to content

Merge pull request #1289 from compas-dev/yck011522/issue1287 #42

Merge pull request #1289 from compas-dev/yck011522/issue1287

Merge pull request #1289 from compas-dev/yck011522/issue1287 #42

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: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python: ["3.12"]
steps:
- uses: compas-dev/compas-actions.build@v4
with:
invoke_lint: false
invoke_test: false
python: ${{ matrix.python }}
- name: Run tests collecting coverage reports
run: pytest --cov src/compas --cov-report=html
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}