Skip to content

Merge pull request #1416 from compas-dev/issues_link #187

Merge pull request #1416 from compas-dev/issues_link

Merge pull request #1416 from compas-dev/issues_link #187

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 }}