Skip to content

Commit

Permalink
ci: limit unit tests to libraries and binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
evilrobot-01 committed May 11, 2024
1 parent 59ab7ee commit c3366d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c3366d6

Please sign in to comment.