-
-
Notifications
You must be signed in to change notification settings - Fork 391
Test only last ghc minor version and fix windows cache #1173
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
Conversation
In this repo the test workflow takes 46 min: https://github.com/haskell/haskell-language-server/actions/runs/472245636 |
.github/workflows/test.yml
Outdated
# run the tests without parallelism to avoid running out of memory | ||
run: cabal test ghcide --test-options="-j1 --rerun-update" || cabal test ghcide --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test ghcide --test-options="-j1 --rerun" | ||
|
||
- name: Test func-test suite | ||
shell: bash | ||
if: ${{ !matrix.ghc-lib && matrix.test }} |
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.
if: ${{ !matrix.ghc-lib && matrix.test }} | |
if: ${{ matrix.test }} |
.github/workflows/test.yml
Outdated
|
||
- name: Test wrapper-test suite | ||
shell: bash | ||
if: ${{ !matrix.ghc-lib && matrix.test }} |
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.
if: ${{ !matrix.ghc-lib && matrix.test }} | |
if: ${{ matrix.test }} |
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.
Thanks!
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.
LGTM
It looks like we should update |
And could you update the GitHub setting for the required checks (I don't have the permission)? It looks like the removed checks remain required. |
It seems the mergify config from master is not replaced by this one, weird... |
The mergify config is not completely updated and is required to remove them to unblock haskell#1173
@Ailrun is right, we had to update checks in github settings (in addition to mergify) |
I've changed the required checks in github settings to match the established ones with this pr. |
Checked. The updated setting looks good to me. Thank you for the CI update! |
The mergify config is not completely updated and is required to remove them to unblock haskell#1173
Uh oh!
There was an error while loading. Please reload this page.