Skip to content
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

Turn skips into errors on Rails CI #49455

Merged
merged 1 commit into from
Oct 26, 2023
Merged

Turn skips into errors on Rails CI #49455

merged 1 commit into from
Oct 26, 2023

Conversation

casperisfine
Copy link
Contributor

We had a few cases of tests being skipped accidentally on CI hence not being ran for a long time (e.g. #49414).

Skipping make sense when running the test suite locally, e.g. you may not have Redis or some other dependency running.

But on CI, a test not being ran should be considered an error.

@casperisfine casperisfine force-pushed the no-skip-on-ci branch 2 times, most recently from b933767 to a66d266 Compare October 2, 2023 11:43
@casperisfine casperisfine marked this pull request as draft October 2, 2023 11:43
@casperisfine
Copy link
Contributor Author

There will be quite a bit of cleanup to do before this can be merged.

@zzak
Copy link
Member

zzak commented Oct 2, 2023

@casperisfine If you want we can add a soft-fail job in CI then fix the failures incrementally?

We had a few cases of tests being skipped accidentally on CI
hence not bein ran for a long time.

Skipping make sense when running the test suite locally, e.g.
you may not have Redis or some other dependency running.

But on CI, a test not being ran should be considered an error.
@byroot byroot marked this pull request as ready for review October 26, 2023 11:10
@byroot byroot merged commit dad3381 into rails:main Oct 26, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants