-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: limit unit tests to libraries and binaries
- Loading branch information
1 parent
59ab7ee
commit c3366d6
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ jobs: | |
git-user: ${{ env.GITHUB_ACTOR }} | ||
|
||
- name: Run unit tests | ||
run: cargo test --lib | ||
run: cargo test --lib --bins | ||
|
||
coverage: | ||
needs: lint | ||
|
@@ -64,7 +64,7 @@ jobs: | |
uses: Swatinem/[email protected] | ||
|
||
- name: Generate code coverage | ||
run: cargo llvm-cov --all-features --workspace --codecov --output-path codecov.json | ||
run: cargo llvm-cov --all-features --workspace --lib --bins --codecov --output-path codecov.json | ||
|
||
- name: Upload to codecov.io | ||
uses: codecov/codecov-action@v4 | ||
|