Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Enable code coverage #35

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
4 changes: 2 additions & 2 deletions .github/workflows/rust-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ 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

integration-tests:
runs-on: ubuntu-latest
name: integration tests
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Update Rust
shell: bash
run: rustup update
Expand Down
Loading