Skip to content

Commit

Permalink
Move the code coverage up to see erros
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmayorga committed Sep 18, 2023
1 parent 7868914 commit fae3288
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/sanity-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,21 @@ jobs:
# Cache needs Google credentials:
GWIP: ${{ secrets.GWIP_SCCACHE }}
GSA: ${{ secrets.GSA_SCCACHE }}

- name: Runing cargo ${{ matrix.target }}
run: ./ci/run-check.sh
env:
TARGET: ${{ matrix.target }}
RUSTC_WRAPPER: "sccache"

- name: generate codecov reports
run: |
if ${{ contains(matrix.target, 'test' ) }}; then
echo "---- GENERATE CODE COVERAGE ----"
echo "Generate code coverage for ${{ matrix.package }}"
echo "# Install Tarpaulin"
cargo install cargo-tarpaulin
# make Cargo.toml
echo "Generate code coverage for ${{ matrix.target }}"
cargo +nightly tarpaulin --verbose --no-fail-fast --workspace --timeout 300 --out Xml
fi
fi
- name: Runing cargo ${{ matrix.target }}
run: ./ci/run-check.sh
env:
TARGET: ${{ matrix.target }}
RUSTC_WRAPPER: "sccache"

# UPLOAD REPORTS
- name: Upload codecov report
Expand Down

0 comments on commit fae3288

Please sign in to comment.