From d04a881d78dc7c04518bac2e40c13f974bbd3845 Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Thu, 23 Mar 2023 02:54:18 +0100 Subject: [PATCH] CI GHC 9.6: have to disable *-suite validation (TODO: revert) See comments. --- .github/workflows/validate.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 8f3d05852..b4077a8d0 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -182,6 +182,10 @@ jobs: run: sh validate.sh $FLAGS -s lib-tests - name: Validate lib-suite + # Have to disable *-suite validation: + # - the Windows@9.6.1 problem is tracked at https://github.com/haskell/cabal/issues/8858 + # - but curently can't run it with GHC 9.6, tracking: https://github.com/haskell/cabal/issues/8883 + if: (runner.os != 'Windows') || (matrix.ghc != '9.6.1') run: sh validate.sh $FLAGS -s lib-suite - name: Validate cli-tests @@ -189,7 +193,8 @@ jobs: run: sh validate.sh $FLAGS -s cli-tests - name: Validate cli-suite - if: matrix.cli != 'false' + # Have to disable *-suite validation, see above the comment for lib-suite + if: ((runner.os != 'Windows') || (matrix.ghc != '9.6.1')) && (matrix.cli != 'false') run: sh validate.sh $FLAGS -s cli-suite # The job below is a copy-paste of validate with the necessary tweaks -- 2.11.4.GIT