Skip to content

Add disable-eth-p2p flag to cli #1214

Add disable-eth-p2p flag to cli

Add disable-eth-p2p flag to cli #1214

Workflow file for this run

name: Coverage
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- main
issue_comment:
types:
- created
jobs:
coverage:
runs-on: [seed-builder]
# Run on the PR branch that was commented, otherwise run on push to 'main'
if: |
(github.event_name == 'issue_comment' && github.event.issue.pull_request && contains(github.event.comment.body, 'check coverage')) ||
(github.event_name == 'push' && github.event.push && github.ref == 'refs/heads/main')
steps:
- uses: xt0rted/pull-request-comment-branch@v1
# this is allowed to fail on 'main'
continue-on-error: ${{ github.ref == 'refs/heads/main' }}
id: comment-branch
- name: Check out
uses: actions/checkout@v3
with:
ref: ${{ steps.comment-branch.outputs.head_ref || 'main' }}
- name: Install toolchain
run: rustup show
- name: Install tarpaulin
run: |
cargo install cargo-tarpaulin
# generate test coverage
- name: Coverage (assess)
run: |
cargo tarpaulin --avoid-cfg-tarpaulin --skip-clean --workspace --locked --out Xml
# upload coverage info
- name: Coverage (upload)
uses: codecov/codecov-action@v3.1.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true