Skip to content

Commit

Permalink
CI refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyday567 committed Jul 29, 2024
1 parent 9006e48 commit cd9471b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,12 @@ jobs:
matrix:
os: [ubuntu-latest]
ghc-version: ['9.10', '9.8', '9.6']
experimental: [false]
doctests: [false]

include:
- os: windows-latest
ghc-version: '9.8'
- os: macos-latest
ghc-version: '9.8'
- os: ubuntu-latest
ghc-version: '9.8'
name: doctests
experimental: true
doctests: true

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -85,7 +78,8 @@ jobs:
- name: Build
run: cabal build all

- if: matrix.doctests
- if: ${{ matrix.os == ubuntu-latest && matrix.ghc-version == '9.8'}}
name: doctests
run: cabal run doctests

- name: Check cabal file
Expand Down

0 comments on commit cd9471b

Please sign in to comment.