Skip to content

Commit

Permalink
Add codecov to unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave committed Feb 6, 2024
1 parent b2d1227 commit 8f44c5b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,10 @@ jobs:
path: Logs/CompoundTests.xcresult.zip
retention-days: 1
if-no-files-found: ignore

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
xcode: true
xcode_archive_path: Logs/CompoundTests.xcresult

13 changes: 13 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
coverage:
status:
project:
default:
# Commits pushed to master should not make the overall
# project coverage decrease by more than 1%:
target: auto
threshold: 1%
patch: false

ignore:
- "Inspector"
- "Tests"

0 comments on commit 8f44c5b

Please sign in to comment.