From 59e7b05870cf88ec42b1691e6ce81e4d7b791c3c Mon Sep 17 00:00:00 2001 From: jneira Date: Tue, 2 Nov 2021 10:36:39 +0100 Subject: [PATCH 1/2] Ignore tests stucking ci --- test/functional/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/Main.hs b/test/functional/Main.hs index ff9473e56c..c8c1651701 100644 --- a/test/functional/Main.hs +++ b/test/functional/Main.hs @@ -34,7 +34,7 @@ main = defaultTestRunner , FunctionalLiquid.tests , HieBios.tests , Highlight.tests - , Progress.tests + , ignoreInEnv [HostOS Windows, GhcVer GHC90] "Tests gets stuck in ci" $ Progress.tests , Reference.tests , Symbol.tests , TypeDefinition.tests From 767d70173faf80c092cc4ec1efeb3f12f38981e8 Mon Sep 17 00:00:00 2001 From: jneira Date: Tue, 2 Nov 2021 10:39:41 +0100 Subject: [PATCH 2/2] Enable func-test for win and 9.0.1 --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d39cd2c5f3..4b521d4d48 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,7 +5,7 @@ defaults: shell: bash # See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency. -concurrency: +concurrency: group: ${{ github.head_ref }}-${{ github.workflow }} cancel-in-progress: true @@ -154,7 +154,7 @@ jobs: # 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" - - if: matrix.test && !(matrix.os == 'windows-latest' && matrix.ghc == '9.0.1') + - if: matrix.test name: Test func-test suite env: HLS_TEST_EXE: hls