-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b4e40de
commit 16438e4
Showing
2 changed files
with
23 additions
and
20 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
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 |
---|---|---|
|
@@ -34,19 +34,20 @@ jobs: | |
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' | ||
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' | ||
|
||
- name: Install grcov | ||
run: | | ||
wget -O grcov.tar.gz https://github.com/mozilla/grcov/releases/download/v0.8.2/grcov-linux-x86_64.tar.bz2 | ||
tar -xvf grcov.tar.gz | ||
sudo mv -v grcov /home/runner/.cargo/bin/ | ||
rm -rv grcov.tar.gz | ||
# TODO: Seems like we can't override the path where grcov runs, so we're currently code coveraging the main repo | ||
# - name: Install grcov | ||
# run: | | ||
# wget -O grcov.tar.gz https://github.com/mozilla/grcov/releases/download/v0.8.2/grcov-linux-x86_64.tar.bz2 | ||
# tar -xvf grcov.tar.gz | ||
# sudo mv -v grcov /home/runner/.cargo/bin/ | ||
# rm -rv grcov.tar.gz | ||
|
||
- name: Run Coverage Tool (grcov) | ||
uses: actions-rs/[email protected] | ||
id: coverage | ||
# - name: Run Coverage Tool (grcov) | ||
# uses: actions-rs/[email protected] | ||
# id: coverage | ||
|
||
- name: Coveralls upload | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
path-to-lcov: ${{ steps.coverage.outputs.report }} | ||
# - name: Coveralls upload | ||
# uses: coverallsapp/github-action@master | ||
# with: | ||
# github-token: ${{ secrets.GITHUB_TOKEN }} | ||
# path-to-lcov: ${{ steps.coverage.outputs.report }} |