Skip to content

Commit

Permalink
docs: fix indentation in coverage workflow (xd009642#1429)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoDog896 authored Nov 23, 2023
1 parent 6625603 commit 9b8e7f1
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,29 +441,29 @@ Example how to run coverage within `docker` with `seccomp` in GitHub Actions and
to <codecov.io>.

```yml
name: coverage
name: coverage
on: [push]
on: [push]
jobs:
test:
name: coverage
runs-on: ubuntu-latest
name: coverage
runs-on: ubuntu-latest
container:
image: xd009642/tarpaulin:develop-nightly
options: --security-opt seccomp=unconfined
image: xd009642/tarpaulin:develop-nightly
options: --security-opt seccomp=unconfined
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Checkout repository
uses: actions/checkout@v2
- name: Generate code coverage
- name: Generate code coverage
run: |
cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out xml
- name: Upload to codecov.io
uses: codecov/codecov-action@v2
- name: Upload to codecov.io
uses: codecov/codecov-action@v2
with:
# token: ${{secrets.CODECOV_TOKEN}} # not required for public repos
fail_ci_if_error: true
# token: ${{secrets.CODECOV_TOKEN}} # not required for public repos
fail_ci_if_error: true
```

#### CircleCI
Expand Down

0 comments on commit 9b8e7f1

Please sign in to comment.