-
Notifications
You must be signed in to change notification settings - Fork 701
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: skip cli-suite on Windows due to #9571 #10257
Conversation
If no one objects, I propose to merge it skipping the 2-day delay. Once we get the two approvals of course. |
@@ -210,6 +210,7 @@ jobs: | |||
run: sh validate.sh $FLAGS -s cli-tests | |||
|
|||
- name: Validate cli-suite | |||
if: runner.os != 'Windows' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See line 177 for how to do this properly; I think that won't work as is (runner.os
won't be expanded).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, actually it looks like it did work (skipped cli-suite
only on Windows) but we probably want to be consistent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 177 is a part of a bash expression, and I act on the yaml level. So, I'm not sure why they should be consistent necessarily: they're pretty different notations...
Do we want to backport this / will this affect CI on 3.12 branch? |
@mergify backport 3.12 |
✅ Backports have been created
|
…10305) * hackage-tests: Add --index-state argument to fix the cabal files We need to fix the index-state we test against so a new bad cabal file doesn't take down the CI for everyone. Towards #10284 (cherry picked from commit 8e4d167) * ci: Fix --index-state for hackage roundtrip tests As a principle, tests which are required for CI to pass should be reproducible and not depending on external resources changes or being modified. The hackage tests currently violate this by depending on the latest index state from hackage. This is problematic because until the test is fixed all merges into master are blocked. Even though the patches in question have nothing to do with the test. It would be more suitable for a nightly job to run on the latest index and for normal CI to run with a fixed index which is updated periodically in a controlled manner. Fixes #10284 (cherry picked from commit 31507b1) * Re-enable Windows CI (cherry picked from commit 4aade2d) * CI: skip cli-suite on Windows due to #9571 (#10257) (cherry picked from commit 30d2a38) --------- Co-authored-by: Matthew Pickering <[email protected]> Co-authored-by: Javier Sagredo <[email protected]> Co-authored-by: Artem Pelenitsyn <[email protected]>
Further investigation of #9571 is needed, but we can take a breathe in the meantime.
Template B: This PR does not modify behaviour or interface
E.g. the PR only touches documentation or tests, does refactorings, etc.
Include the following checklist in your PR: