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:
parent
0c0aae0712
commit
6567a2d890
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue