diff --git a/.github/workflows/cabal-in-nix-shell.yml b/.github/workflows/cabal-in-nix-shell.yml index 41690a7..2ddbeb8 100644 --- a/.github/workflows/cabal-in-nix-shell.yml +++ b/.github/workflows/cabal-in-nix-shell.yml @@ -33,6 +33,13 @@ jobs: - os: ubuntu-22.04 - os: ubuntu-20.04 - os: macos-13 + # ARM is broken for GHC < 8.10 + - os: macos-14 + ghc: ghc884 + - os: macos-14 + ghc: ghc865Binary + - os: macos-14 + ghc: ghc844 runs-on: ${{ matrix.os }} steps: - name: Checkout @@ -77,7 +84,7 @@ jobs: - name: Build tests run: nix-shell --argstr ghcVersion ${{ matrix.ghc }} --argstr ccVersion ${{ matrix.cc }} --run 'cabal build --enable-tests' - - name: Run tests (GHC ${{ github.env.GHC_VERSION }}) + - name: Run tests run: nix-shell --argstr ghcVersion ${{ matrix.ghc }} --argstr ccVersion ${{ matrix.cc }} --run 'cabal test --test-show-details direct' # "--test-show-details direct" makes cabal print test suite output to terminal # Run all tests again showing only the output of failed tests