Skip to content

Commit 5be7c1c

Browse files
committed
Reenable code coverage upload to Coveralls, only for ./crates packages
1 parent 5a090fa commit 5be7c1c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/code_coverage.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ jobs:
3838
- name: Install python dependencies
3939
run: pip install hwi==2.1.1 protobuf==3.20.1
4040
- name: Test
41-
run: cargo test --all-features
41+
run: (cd crates; cargo test --all-features)
4242
- name: Run grcov
4343
run: mkdir coverage; grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '/*' -o ./coverage/lcov.info
4444
- name: Generate HTML coverage report
4545
run: genhtml -o coverage-report.html ./coverage/lcov.info
46-
# - name: Coveralls upload
47-
# uses: coverallsapp/github-action@master
48-
# with:
49-
# github-token: ${{ secrets.GITHUB_TOKEN }}
46+
- name: Coveralls upload
47+
uses: coverallsapp/github-action@master
48+
with:
49+
github-token: ${{ secrets.GITHUB_TOKEN }}
5050
- name: Upload artifact
5151
uses: actions/upload-artifact@v2
5252
with:

0 commit comments

Comments
 (0)