Skip to content

Commit

Permalink
ci: Enable code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
emgrav committed Oct 25, 2024
1 parent e4a1ffc commit 54d36d7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
coverage:
status:
project:
default:
# Do not pass if PR reduces coverage by more than 5%
target: auto
threshold: 5
comment:
layout: "header, diff, components, files, footer"
6 changes: 6 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[profile.ci]
fail-fast = false
[profile.ci.junit]
path = "junit.xml"
store-success-output = true
store-failure-output = true
2 changes: 1 addition & 1 deletion .github/workflows/rust-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
issues: write
pull-requests: write
contents: read
uses: famedly/backend-build-workflows/.github/workflows/rust-workflow.yml@main
uses: famedly/backend-build-workflows/.github/workflows/rust-workflow.yml@v1
secrets: inherit

0 comments on commit 54d36d7

Please sign in to comment.