Skip to content

chore: sync changes with nomos-node (#57) #31

chore: sync changes with nomos-node (#57)

chore: sync changes with nomos-node (#57) #31

Workflow file for this run

on:
push:
branches:
- main
name: Codecov
jobs:
test:
name: Test
env:
RUSTFLAGS: -C instrument-coverage
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Add llvm-tools-preview component
run: rustup component add llvm-tools-preview
- name: Run Grcov
run: |
cargo install grcov;
cargo test --all-features;
mkdir /tmp/cov;
grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o /tmp/cov/tests.lcov;
- uses: codecov/codecov-action@v3
with:
directory: /tmp/cov/
name: overwatch-codecov
fail_ci_if_error: true