Skip to content

Commit

Permalink
Add nextest retries
Browse files Browse the repository at this point in the history
  • Loading branch information
Flix committed Aug 17, 2024
1 parent c761fa9 commit 6659895
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,11 @@ jobs:

- name: "Run tests for this feature set: ${{ matrix.name }}"
shell: bash
env:
NEXTEST_RETRIES: "1"
# Uses a light variant right now to save resources.. Locally, there is a better version.
# Sadly, cannot use --all-features.
run: |
cargo make --makefile Makefile-light-ci.toml --env "COMPOSE_PROFILES=${{ matrix.compose_profiles}}" docker-ci-up
cargo make --makefile Makefile-light-ci.toml --env "FEATURE_SELECTION=${{ matrix.feat_arg }}" test
cargo make --makefile Makefile-light-ci.toml --env "FEATURE_SELECTION=${{ matrix.feat_arg }}" --env NEXTEST_RETRIES=${{ env.NEXTEST_RETRIES }} test
cargo make --makefile Makefile-light-ci.toml --env "COMPOSE_PROFILES=${{ matrix.compose_profiles}}" docker-ci-down

0 comments on commit 6659895

Please sign in to comment.