Skip to content

Commit

Permalink
ci: Run nextest with profile "ci", add a test-specific override to al…
Browse files Browse the repository at this point in the history
…low retries for `avm2/pixelbender_shaderdata`
  • Loading branch information
torokati44 committed Aug 12, 2024
1 parent e8a4f2f commit f98999c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# TODO: Figure out why this specific test is flaky on CI, fix it, then delete this file.
[[profile.ci.overrides]]
filter = "test(avm2/pixelbender_shaderdata)"
retries = 3
4 changes: 2 additions & 2 deletions .github/workflows/test_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:

- name: Run tests with image tests
if: runner.os != 'macOS'
run: cargo nextest run --cargo-profile ci --workspace --locked --no-fail-fast -j 4 --features imgtests,lzma,jpegxr
run: cargo nextest run --profile ci --cargo-profile ci --workspace --locked --no-fail-fast -j 4 --features imgtests,lzma,jpegxr
env:
# This is to counteract the disabling by rust-cache.
# See: https://github.com/Swatinem/rust-cache/issues/43
Expand All @@ -96,7 +96,7 @@ jobs:

- name: Run tests without image tests
if: runner.os == 'macOS'
run: cargo nextest run --cargo-profile ci --workspace --locked --no-fail-fast -j 4 --features lzma,jpegxr
run: cargo nextest run --profile ci --cargo-profile ci --workspace --locked --no-fail-fast -j 4 --features lzma,jpegxr
env:
XDG_RUNTIME_DIR: '' # dummy value, just to silence warnings about it missing

Expand Down

0 comments on commit f98999c

Please sign in to comment.