Skip to content

Commit

Permalink
feat: add coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
olahsymbo committed Jan 8, 2024
1 parent 02e5878 commit 9e6bf99
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,18 @@ jobs:
run: make format

- name: Test with Pytest
run: make test
run: |
make test
coverage xml -o coverage.xml
- name: Save coverage report locally
run: mv coverage.xml $GITHUB_WORKSPACE/coverage.xml

- name: Upload coverage artifact
uses: actions/upload-artifact@v2
with:
name: coverage
path: $GITHUB_WORKSPACE/coverage.xml

- name: Build Dist
run: make build
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,5 @@ Docker Compose file: `docker-compose.yml`
docker-compose up -d
```

### Test
- [Code Coverage Report](./coverage.xml)

0 comments on commit 9e6bf99

Please sign in to comment.