Skip to content

Commit

Permalink
Add nextest retries
Browse files Browse the repository at this point in the history
  • Loading branch information
FlixCoder committed Aug 17, 2024
1 parent 1a1fed2 commit d2da677
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 d2da677

Please sign in to comment.