4 Commits

Author SHA1 Message Date
Palash Tyagi
eb28b93781 reorganized GH runner setups 2025-05-04 00:53:19 +01:00
Palash Tyagi
33d021072e Refactor unit test steps for clarity and organization 2025-05-04 00:47:13 +01:00
Palash Tyagi
8ba39f8e87 Reorder steps in unit tests workflow to clarify coverage generation process 2025-05-04 00:42:34 +01:00
Palash Tyagi
cae230783e Enhance output messages for code coverage and documentation steps in unit tests workflow 2025-05-04 00:39:23 +01:00
11 changed files with 7 additions and 3 deletions

View File

@@ -38,12 +38,16 @@ jobs:
run: rustup update stable run: rustup update stable
- name: Install cargo-llvm-cov - name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info - name: Run doctests
- name: Run doc-tests
run: cargo test --doc --all-features --workspace --release run: cargo test --doc --all-features --workspace --release
- name: Run unit tests with code coverage
run: cargo llvm-cov --all-features --release --workspace --lcov --output-path lcov.info
- name: Test docs generation - name: Test docs generation
run: cargo doc --no-deps --release run: cargo doc --no-deps --release
- name: Upload coverage to Codecov - name: Upload coverage to Codecov
uses: codecov/codecov-action@v3 uses: codecov/codecov-action@v3
with: with: