fix: Codecov workflow conflicting output directory (#862)

* fix: change conflicting output directory name

* test: try to remove unwanted software

* test: run on self-hosted

* fix: remove dispatch on push
This commit is contained in:
Roman Zajic 2024-10-29 20:27:05 +08:00 committed by GitHub
parent 0c0aae0712
commit 6567a2d890
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -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