From 6659895cea9465b2a72f8b29ce084536f553b9f6 Mon Sep 17 00:00:00 2001 From: Flix Date: Sun, 18 Aug 2024 00:10:43 +0200 Subject: [PATCH] Add nextest retries --- .github/workflows/rust.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a92ea9fd..486e45a8 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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