diff --git a/.config/nextest.toml b/.config/nextest.toml new file mode 100644 index 000000000..e7f588765 --- /dev/null +++ b/.config/nextest.toml @@ -0,0 +1,5 @@ +[profile.ci] +retries = 4 +# Terminates test after waiting (`period` * `terminate-after`). +# After timeout, will still retry `retries` times. +slow-timeout = { period = "60s", terminate-after = 3 } diff --git a/.github/workflows/run_test_suite.yaml b/.github/workflows/run_test_suite.yaml index bab22080c..581143061 100644 --- a/.github/workflows/run_test_suite.yaml +++ b/.github/workflows/run_test_suite.yaml @@ -121,7 +121,7 @@ jobs: FEATURES="--features ${{matrix.features}}" fi - cargo +${{ matrix.toolchain }} nextest run $FEATURES --retries 5 --color always 2>&1 | tee test-results/log + cargo +${{ matrix.toolchain }} nextest run $FEATURES --profile ci --color always 2>&1 | tee test-results/log env: NOOSPHERE_LOG: academic - uses: actions/upload-artifact@v3