Skip to content

Commit

Permalink
🔧 [CI/CD] Test Coverage
Browse files Browse the repository at this point in the history
Problem:
- The contextual library has code coverage reporting, but it is not
produced or retained by the CI/CD.

Solution:
- Add two steps to the CI/CD script: one to generate the code coverage
report and one to upload it as an artifact.
  • Loading branch information
sabjohnso committed Oct 31, 2024
1 parent f90d7a2 commit 8fb87dc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,13 @@ jobs:
- name: Run Tests
shell: bash
run: ./run-tests

- name: Run Test Coverage
shell: bash
run: ./run-coverage

- name: Upload Test Coverage
uses: actions/upload-artifacts@v4
with:
name: code-coverage-report
path: coverage

0 comments on commit 8fb87dc

Please sign in to comment.