retry integration tests 3 times before actually failing

This is not ideal, but it prevents some manual work when CI is a bit too
flaky on the integration tests. This also prevents the CI job from
re-running from scratch which should speed up the process as well.
This commit is contained in:
Robin Malfait 2026-01-06 16:00:48 +01:00
parent 197d21c438
commit ffcb96a523
No known key found for this signature in database

View file

@ -38,7 +38,7 @@
"postbuild": "node ./scripts/pack-packages.mjs",
"dev": "turbo dev --filter=!./playgrounds/*",
"test": "cargo test && vitest run --hideSkippedTests",
"test:integrations": "vitest --root=./integrations",
"test:integrations": "vitest --root=./integrations --retry=3",
"test:ui": "pnpm run --filter=tailwindcss test:ui && pnpm run --filter=@tailwindcss/browser test:ui",
"tdd": "vitest --hideSkippedTests",
"bench": "vitest bench",