Skip to content

Commit

Permalink
Disable test coverage job (informalsystems#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
romac authored Apr 29, 2021
1 parent 314ee36 commit b1fa75f
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,32 +69,32 @@ jobs:
command: test
args: --all-features --no-fail-fast

test-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: clean
- name: Run cargo-tarpaulin
uses: actions-rs/[email protected]
with:
version: '0.16.0'
args: '-- --test-threads 1'
timeout: 600
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
- name: Archive code coverage results
uses: actions/upload-artifact@v2
with:
name: code-coverage-report
path: cobertura.xml
# test-coverage:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# with:
# fetch-depth: 0
# - uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# override: true
# - uses: actions-rs/cargo@v1
# with:
# command: clean
# - name: Run cargo-tarpaulin
# uses: actions-rs/[email protected]
# with:
# version: '0.16.0'
# args: '-- --test-threads 1'
# timeout: 600
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v1
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# fail_ci_if_error: true
# - name: Archive code coverage results
# uses: actions/upload-artifact@v2
# with:
# name: code-coverage-report
# path: cobertura.xml

0 comments on commit b1fa75f

Please sign in to comment.