diff --git a/.github/workflows/dusk_ci.yml b/.github/workflows/dusk_ci.yml index b67af571..2b06150f 100644 --- a/.github/workflows/dusk_ci.yml +++ b/.github/workflows/dusk_ci.yml @@ -110,13 +110,12 @@ jobs: - name: Build test executable if: ${{ matrix.os == 'ubuntu-latest' && matrix.toolchain == 'nightly' }} uses: actions-rs/cargo@v1 + env: + RUSTFLAGS: '-Cdebuginfo=2 -Cinline-threshold=0 -Clink-dead-code' + RUSTDOCFLAGS: '-Cdebuginfo=2 -Cinline-threshold=0 -Clink-dead-code' with: command: test args: --release --all-features --no-run - env: - CARGO_INCREMENTAL: '0' - RUSTFLAGS: '-Zprofile -Cdebuginfo=2 -Cinline-threshold=0 -Clink-dead-code -Zpanic_abort_tests' - RUSTDOCFLAGS: '-Zprofile -Cdebuginfo=2 -Cinline-threshold=0 -Clink-dead-code -Zpanic_abort_tests' - name: Test with kcov if: ${{ matrix.os == 'ubuntu-latest' && matrix.toolchain == 'nightly' }}