Reenable code coverage upload to Coveralls, only for ./crates packages
This commit is contained in:
parent
5a090fac90
commit
5be7c1c50d
10
.github/workflows/code_coverage.yml
vendored
10
.github/workflows/code_coverage.yml
vendored
@ -38,15 +38,15 @@ jobs:
|
|||||||
- name: Install python dependencies
|
- name: Install python dependencies
|
||||||
run: pip install hwi==2.1.1 protobuf==3.20.1
|
run: pip install hwi==2.1.1 protobuf==3.20.1
|
||||||
- name: Test
|
- name: Test
|
||||||
run: cargo test --all-features
|
run: (cd crates; cargo test --all-features)
|
||||||
- name: Run grcov
|
- name: Run grcov
|
||||||
run: mkdir coverage; grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '/*' -o ./coverage/lcov.info
|
run: mkdir coverage; grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '/*' -o ./coverage/lcov.info
|
||||||
- name: Generate HTML coverage report
|
- name: Generate HTML coverage report
|
||||||
run: genhtml -o coverage-report.html ./coverage/lcov.info
|
run: genhtml -o coverage-report.html ./coverage/lcov.info
|
||||||
# - name: Coveralls upload
|
- name: Coveralls upload
|
||||||
# uses: coverallsapp/github-action@master
|
uses: coverallsapp/github-action@master
|
||||||
# with:
|
with:
|
||||||
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user