Skip to content

Commit bc4f3ca

Browse files
authored
ci(*): Run flaky tests with --verbose and use ci profile (#3063)
## Description Also fix building of tests to use --profile ci which is used to run the tests. The test run did not trigger a re-build. So mosly likely the profile is not encoded in the build artifacts and we were running tests on the normal dev profile rather than the ci profile. ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented.
1 parent 693922a commit bc4f3ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
- name: run tests
112112
run: |
113113
mkdir -p output
114-
cargo nextest run --workspace ${{ env.FEATURES }} --lib --bins --tests --profile ci --run-ignored ${{ inputs.flaky && 'all' || 'default' }} --no-fail-fast --message-format ${{ inputs.flaky && 'libtest-json' || 'human' }} > output/${{ matrix.name }}_${{ matrix.features }}_${{ matrix.rust }}.json
114+
cargo nextest run --workspace ${{ env.FEATURES }} --lib --bins --tests --profile ci --run-ignored ${{ inputs.flaky && 'all' || 'default' }} ${{ inputs.flaky && '--verbose' || '' }} --no-fail-fast --message-format ${{ inputs.flaky && 'libtest-json' || 'human' }} > output/${{ matrix.name }}_${{ matrix.features }}_${{ matrix.rust }}.json
115115
env:
116116
RUST_LOG: ${{ runner.debug && 'TRACE' || 'DEBUG'}}
117117
NEXTEST_EXPERIMENTAL_LIBTEST_JSON: 1

0 commit comments

Comments
 (0)