Skip to content

Commit

Permalink
Adding install script first
Browse files Browse the repository at this point in the history
  • Loading branch information
ebmifa committed Jan 29, 2024
1 parent 0ca13cd commit e330275
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/cargo-llvm-cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,19 @@ jobs:
- name: Install Rust
run: rustup update stable

- name: Generate code coverage for nextest
run: SUI_SKIP_SIMTESTS=1 cargo llvm-cov --ignore-run-fail --lcov --output-path lcov.info nextest
# - name: Run code coverage for nextest
# run: SUI_SKIP_SIMTESTS=1 cargo llvm-cov --ignore-run-fail --lcov --output-path lcov.info nextest

- name: Upload report to Codecov for nextest
uses: codecov/codecov-action@v3
with:
files: lcov.info
fail_ci_if_error: true
# - name: Upload report to Codecov for nextest
# uses: codecov/codecov-action@v3
# with:
# files: lcov.info
# fail_ci_if_error: true

- name: Generate code coverage for simtest
run: cargo llvm-cov --ignore-run-fail --lcov --output-path lcov.info simtest
- name: Run code coverage for simtest
run: |
./scripts/simtest/install.sh
cargo llvm-cov --ignore-run-fail --lcov --output-path lcov.info simtest
- name: Upload report to Codecov for simtest
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit e330275

Please sign in to comment.