Skip to content

Commit

Permalink
CI: exclude GHC < 8.10 on macos-14
Browse files Browse the repository at this point in the history
  • Loading branch information
runeksvendsen committed Jan 9, 2025
1 parent e75ecdd commit f16eb0d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/cabal-in-nix-shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f16eb0d

Please sign in to comment.