Skip to content

Commit

Permalink
Add coverage report from built template project.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdlaird committed May 18, 2024
1 parent 336a353 commit 4e00068
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,10 @@ jobs:
id: get_version
run: echo ::set-output name=BRANCH::${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
- name: Test
run: BRANCH=${{ steps.get_version.outputs.BRANCH }} make test
run: BRANCH=${{ steps.get_version.outputs.BRANCH }} make test
- name: Upload coverage
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./build/template-project-test-build/build/coverage

0 comments on commit 4e00068

Please sign in to comment.