Commit c71db228 authored by Mark Tyneway's avatar Mark Tyneway

contracts-bedrock: fix contracts flake in CI

Adds a `STRICT_DEPLOYMENT=false` env var to the CI
for the foundry tests. There is a race condition with it
reading files from disk. The deploy process needs to get config
from disk and when all of the foundry tests run in parallel,
sometimes particular tests will think the files do not
exist.

Ideally we can figure out a way to express to foundry "do something
only once" and then checkpoint the state, kind of like a meta `setUp`
but this doesn't seem to be possible, `setUp` is called many times.
parent b2bf141a
......@@ -350,7 +350,7 @@ jobs:
working_directory: packages/contracts-bedrock
- run:
name: run tests
command: pnpm test
command: STRICT_DEPLOYMENT=false pnpm test
environment:
FOUNDRY_PROFILE: ci
working_directory: packages/contracts-bedrock
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment