Skip to content

Commit

Permalink
CI: Workaround cabal issue
Browse files Browse the repository at this point in the history
  • Loading branch information
minoki committed Oct 10, 2024
1 parent 0e2c7ec commit c52769b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ jobs:
run: cabal build fp-ieee --ghc-options=-fno-ignore-asserts --enable-tests --enable-benchmarks ${{ matrix.flags }}

- name: Test
run: cabal test fp-ieee --ghc-options=-fno-ignore-asserts ${{ matrix.flags }}
run: cabal test fp-ieee --ghc-options=-fno-ignore-asserts --enable-tests ${{ matrix.flags }}
if: ${{ runner.os != 'macOS' && runner.os != 'Windows' }}

# doctest on macOS/Windows is broken
- name: Test (without doctest)
run: cabal test fp-ieee:fp-ieee-test --ghc-options=-fno-ignore-asserts ${{ matrix.flags }}
run: cabal test fp-ieee:fp-ieee-test --ghc-options=-fno-ignore-asserts --enable-tests ${{ matrix.flags }}
if: ${{ runner.os == 'macOS' || runner.os == 'Windows' }}

rounded-hw:
Expand Down Expand Up @@ -114,4 +114,4 @@ jobs:
run: cabal build rounded-hw --ghc-options=-fno-ignore-asserts --enable-tests --enable-benchmarks ${{ matrix.flags }}

- name: Test
run: cabal test rounded-hw --ghc-options=-fno-ignore-asserts ${{ matrix.flags }}
run: cabal test rounded-hw --ghc-options=-fno-ignore-asserts --enable-tests ${{ matrix.flags }}

0 comments on commit c52769b

Please sign in to comment.