Skip to content

Commit

Permalink
Work around CI flakiness in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodigrim authored and Lysxia committed May 25, 2021
1 parent a1f974c commit 423edce
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/windows_and_macOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,13 @@ jobs:
with:
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
key: ${{ runner.os }}-${{ matrix.ghc }}
# We rebuild tests several times to avoid intermittent failures on Windows
# https://github.com/haskell/actions/issues/36
- name: Test
run: cabal test
run: |
bld() { cabal build pkg:text:tests; }
bld || bld || bld
cabal test
- name: Haddock
run: cabal haddock
- name: SDist
Expand Down

0 comments on commit 423edce

Please sign in to comment.