Skip to content

Have CI tests depend on formatter passing #2451

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

Merged
merged 2 commits into from
Feb 8, 2024

Conversation

chriselrod
Copy link
Contributor

@chriselrod chriselrod commented Feb 5, 2024

CI keeps getting merged despite a failing formatter, so this PR's intention is to only have tests run after formatter passes. This should incentivize actually calling JuliaFormatter.format("path/to/ModelingToolKit") or using your editor to format the files you edited.

@chriselrod
Copy link
Contributor Author

Confirming that the formatter failed, and tests were skipped.
https://github.com/SciML/ModelingToolkit.jl/actions/runs/7791834752
Now, formatting and committing to confirm that tests do run when the formatter passes.

@YingboMa YingboMa merged commit 85801be into SciML:master Feb 8, 2024
@chriselrod chriselrod deleted the testsdependonformatter branch February 8, 2024 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants