New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Request] Avoid automatically recording snapshots on CI #748
Comments
I just discovered #553 |
NachoSoto
added a commit
to NachoSoto/swift-snapshot-testing
that referenced
this issue
Sep 12, 2023
Hey guys! Any news/updates? Thanks |
Any Updates? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm experimenting with moving to Xcode Cloud, and noticed that for some reason it's not finding the snapshots even though they're in the repo.
Because we have test retries enabled, I almost didn't see this, because the second try for every test passed:
It occurs to me that it should be able to disable this behavior when running tests on CI, because the subsequent test run will always be a pass. If there is no snapshot when running tests on CI, it shouldn't try to create them.
Bonus points if there's an environment variable that the library can detect to automatically enable that setting in Xcode Cloud / CircleCI, etc.
The text was updated successfully, but these errors were encountered: