From ab2f9a632346018f9b19a856a51793e261c292f4 Mon Sep 17 00:00:00 2001 From: Brady Fomegne Date: Fri, 22 Mar 2024 22:31:27 +0100 Subject: [PATCH] ci: update the coverage workflow use of --workspace option instead of -p for the cargo build/test --- .github/workflows/coverage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 39a1f98..ba27ab1 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -48,13 +48,13 @@ jobs: - name: build env: RUSTFLAGS: -Cinstrument-coverage - run: cargo build -p afrim-memory -p afrim-preprocessor -p afrim-translator -p afrim-config -p afrim --verbose + run: cargo build --workspace --verbose - name: test env: RUSTFLAGS: -Cinstrument-coverage LLVM_PROFILE_FILE: name-%p-%m.profraw - run: cargo test -p afrim-memory -p afrim-preprocessor -p afrim-translator -p afrim-config -p afrim --verbose + run: cargo test --workspace --verbose - name: Run grcov run: |