diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 62460e1c..c587f6b3 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -12,7 +12,7 @@ jobs: CARGO_INCREMENTAL: 0 RUSTFLAGS: "-C instrument-coverage" LLVM_PROFILE_FILE: "nomos-node-%p-%m.profraw" - runs-on: ['ubuntu-22.04'] + runs-on: ['self-hosted'] steps: - uses: actions/checkout@v3 with: @@ -49,8 +49,8 @@ jobs: - name: Run Grcov run: | cargo binstall -y grcov; - mkdir /tmp/cov; - grcov . --binary-path ./target/debug -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o /tmp/cov/tests.lcov; + mkdir /tmp/coverage; + grcov . --binary-path ./target/debug -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o /tmp/coverage/tests.lcov; - uses: actions/upload-artifact@v3 if: failure() with: @@ -58,5 +58,5 @@ jobs: path: tests/.tmp* - uses: codecov/codecov-action@v3 with: - directory: /tmp/cov/ + directory: /tmp/coverage/ name: nomos-node-codecov