Skip to content

Commit

Permalink
Fix CLI args for the test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
Kleidukos committed Aug 19, 2024
1 parent 1bfd3f2 commit 70df147
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
cp ${bin} distribution/print-api
- name: Test
run: cabal test --project-file=cabal.static.project --test-options "--xml=report.xml" all
run: cabal test --project-file=cabal.static.project --test-options="--xml=report.xml" all

- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
Expand Down
2 changes: 1 addition & 1 deletion test/IgnoreList.hs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ generateServantClientAPIWithIgnoreList = do
assertExitSuccess "`cabal exec -v0 -- ghc --print-libdir`" exitCode
assertExitSuccess "Fetch the archive of servant-client" =<< Process.runProcess (Process.shell "cabal get servant-client-0.20 --destdir=../")
liftIO $ Directory.setCurrentDirectory "../servant-client-0.20"
let buildServantClient = Process.shell "cabal build --allow-newer --write-ghc-environment-files=always"
let buildServantClient = Process.shell "cabal build -j --allow-newer --write-ghc-environment-files=always"
assertExitSuccess "Build servant-client" =<< Process.runProcess buildServantClient
ignoreListPath <- liftIO $ OsPath.makeAbsolute [osp|../print-api/test/golden/servant-client-ignore-list.txt|]
ignoreListFilePath <- liftIO $ OsPath.decodeUtf ignoreListPath
Expand Down
1 change: 0 additions & 1 deletion test/golden/servant-client-actual-api.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

module Servant.Client where
(//) :: forall a b. a -> (a -> b) -> b
(/:) :: forall a b c. (a -> b -> c) -> b -> a -> c
Expand Down

0 comments on commit 70df147

Please sign in to comment.