diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 3df7e33e1..6d926abba 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -10,9 +10,6 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true -env: - RUSTFLAGS: "--cfg async_executor_impl=\"async-std\" --cfg async_channel_impl=\"async-std\"" - jobs: code-coverage: runs-on: ubuntu-latest @@ -27,7 +24,6 @@ jobs: uses: foundry-rs/foundry-toolchain@v1 with: version: nightly-2cb875799419c907cc3709e586ece2559e6b340e # Not using the default version because likely of this bug https://github.com/foundry-rs/foundry/issues/7120 - - uses: actions-rs/toolchain@v1 with: toolchain: nightly @@ -35,15 +31,15 @@ jobs: - uses: actions-rs/cargo@v1 with: command: test - args: --all-features --no-fail-fast --release + args: --all-features --no-fail-fast env: CARGO_INCREMENTAL: '0' - RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests --cfg async_executor_impl="async-std" --cfg async_channel_impl="async-std" --cfg hotshot_example' + RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests --cfg async_executor_impl="async-std" --cfg async_channel_impl="async-std" --cfg hotshot_example' RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' + timeout-minutes: 30 - uses: actions-rs/grcov@v0.1 with: config: .github/grcov.yml - timeout-minutes: 90 - name: Coveralls upload uses: coverallsapp/github-action@master with: