Commit ec0e7f3625d1eb441989be3a73f196fb13a97185

constantoine 2022-08-26T10:44:46

Fix rust.yml Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 4b975c6..51bdf83 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -40,7 +40,7 @@ jobs:
     - name: otpauth+gensecret feature
       run: CARGO_INCREMENTAL=0 RUSTFLAGS='-Cinstrument-coverage' LLVM_PROFILE_FILE='cargo-test-%p-%m.profraw' cargo test --features=gen_secret,otpauth
     - name: Create coverage file
-      run: grcov . --binary-path ./target/debug/deps/ -s . -t cobertura --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o target/coverage/cobertura.xml
+      run: ./grcov . --binary-path ./target/debug/deps/ -s . -t cobertura --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o target/coverage/cobertura.xml
     - name: Upload to codecov.io
       uses: codecov/codecov-action@v2
       with: