Skip to content

feat: improve backpressure gossipsub batch #1266

feat: improve backpressure gossipsub batch

feat: improve backpressure gossipsub batch #1266

Workflow file for this run

name: Coverage
on:
push:
branches: [main]
paths: crates/**
pull_request:
branches: [main]
paths: crates/**
workflow_dispatch:
jobs:
codecov:
name: Code coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-rust
with:
components: llvm-tools-preview
tools: grcov,nextest,protoc
AWS_ACCESS_KEY_ID: ${{ secrets.ROBOT_AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{ secrets.ROBOT_AWS_SECRET_ACCESS_KEY}}
- name: Build
env:
RUSTFLAGS: '-Cinstrument-coverage'
RUSTDOCFLAGS: '-Cinstrument-coverage'
run: cargo build --all
- name: Run tests
env:
RUSTFLAGS: '-Cinstrument-coverage'
RUSTDOCFLAGS: '-Cinstrument-coverage'
LLVM_PROFILE_FILE: 'codecov-instrumentation-%p-%m.profraw'
run: cargo nextest run --workspace --exclude topos-sequencer-subnet-runtime
- name: Run grcov
run: grcov . --binary-path target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '../**' --ignore '/*' -o coverage.lcov
- name: Upload to codecov.io
uses: codecov/codecov-action@v3