From fae328833a87d705f535a2ecebe04c7073cee9d8 Mon Sep 17 00:00:00 2001 From: Guillermo Perez Date: Mon, 18 Sep 2023 05:35:49 -0400 Subject: [PATCH] Move the code coverage up to see erros --- .github/workflows/sanity-checks.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/sanity-checks.yml b/.github/workflows/sanity-checks.yml index b521b6aff1..d4cc05536c 100644 --- a/.github/workflows/sanity-checks.yml +++ b/.github/workflows/sanity-checks.yml @@ -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