This repository was archived by the owner on Jan 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +21
-6
lines changed Expand file tree Collapse file tree 1 file changed +21
-6
lines changed Original file line number Diff line number Diff line change @@ -36,35 +36,49 @@ jobs:
3636 install-haskell :
3737 name : GHC ${{ matrix.ghc }}, Cabal ${{ matrix.cabal }} - ${{ matrix.os }}
3838 runs-on : ${{ matrix.os }}
39+ continue-on-error : ${{ matrix.expect-fail }}
3940 strategy :
40- fail-fast : false
41+ fail-fast : true
4142 matrix :
4243 os : [ubuntu-latest, macOS-latest, windows-latest]
4344 ghc : ["latest", "8.4.4"]
4445 cabal : ["latest"]
46+ expect-fail : [false]
4547 include :
4648 - os : ubuntu-latest
4749 ghc : " 7.10.3"
4850 cabal : " 3.0.0.0"
51+ expect-fail : false
4952 - os : ubuntu-latest
5053 ghc : " 8.2.2"
5154 cabal : " 2.0"
52-
55+ expect-fail : false
56+ - os : ubuntu-latest
57+ ghc : " 8.12.0" # A version that will never exist.
58+ expect-fail : true
5359 steps :
5460 - uses : actions/checkout@v2
55- - uses : ./setup
61+ - uses : ./
62+ continue-on-error : ${{ matrix.expect-fail }}
5663 with :
5764 ghc-version : ${{ matrix.ghc }}
5865 cabal-version : ${{ matrix.cabal }}
5966 - run : |
6067 runhaskell --version
6168 runhaskell __tests__/hello.hs
62- - shell : bash
63- run : cd __tests__/project && cabal build && cabal run
69+ continue-on-error: ${{ matrix.expect-fail }}
70+ - working-directory : __tests__/project
71+ run : cabal build
72+ continue-on-error : ${{ matrix.expect-fail }}
73+ - working-directory : __tests__/project
74+ run : cabal run
75+ continue-on-error : ${{ matrix.expect-fail }}
6476 - run : |
6577 cabal --version
6678 ghc --version
79+ continue-on-error: ${{ matrix.expect-fail }}
6780 - shell : bash
81+ continue-on-error : ${{ matrix.expect-fail }}
6882 if : matrix.ghc != 'latest'
6983 # this check depends on the ghc versions being "exact" in the matrix
7084 run : |
8195
8296 steps :
8397 - uses : actions/checkout@v2
84- - uses : ./setup
98+
99+ - uses : ./
85100 with :
86101 enable-stack : true
87102 stack-no-global : true
You can’t perform that action at this time.
0 commit comments