Skip to content

Commit

Permalink
Skip non-terminating tests in Windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jasagredo committed Jul 28, 2024
1 parent 13dce0e commit 6cd9030
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import Test.Cabal.Prelude
import Data.List (isPrefixOf)

main = cabalTest $ flakyIfCI 9530 $ withProjectFile "cabal.project" $ withRemoteRepo "repo" $ do
main = do
skipIfCIAndWindows 10230
cabalTest $ flakyIfCI 9530 $ withProjectFile "cabal.project" $ withRemoteRepo "repo" $ do

output <- last
. words
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import Test.Cabal.Prelude

main = cabalTest $ flakyIfCI 9530 $ withRemoteRepo "repo" $ do
main = do
skipIfCIAndWindows 10230
cabalTest $ flakyIfCI 9530 $ withRemoteRepo "repo" $ do

-- The _first_ update call causes a warning about missing mirrors, the warning
-- is platform-dependent and it's not part of the test expectations, so we
Expand Down

0 comments on commit 6cd9030

Please sign in to comment.