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

[CI] Run specs in random order by default #12541

Merged

Conversation

straight-shoota
Copy link
Member

Running specs in random order is better than the default lexical ordering. But it's currently not the default behaviour and thus rarely used because it needs opt-in (#12540).
This patch opts into random order execution in CI and the Makefile in general.

@straight-shoota
Copy link
Member Author

Specs are currently failing due to side effects between examples. This is fixed in #12539. These side effects have been discovered through random order execution. So this already shows the benefits =)

@straight-shoota straight-shoota marked this pull request as ready for review September 30, 2022 10:22
Makefile Outdated Show resolved Hide resolved
@straight-shoota straight-shoota added this to the 1.7.0 milestone Oct 6, 2022
@straight-shoota straight-shoota merged commit 70673cf into crystal-lang:master Nov 17, 2022
@straight-shoota straight-shoota deleted the feature/ci-random-specs branch November 17, 2022 11:27
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.

4 participants