Skip to content

Commit

Permalink
Try not building postgres stuff on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Jul 21, 2024
1 parent 016339a commit a2fdf8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/sandwich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ jobs:
run: |
"$env:PGBIN" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Print PATH
run: |
echo $env:PATH
# Disable demo-postgres since it requires unix sockets
sed -i 's/demos\/demo-postgres/-- demos\/demo-postgres/g' cabal.project
- uses: haskell-actions/setup@v2
id: setup-haskell-cabal
Expand Down
5 changes: 4 additions & 1 deletion sandwich-contexts/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ library:
- Test.Sandwich.Contexts.FakeSmtpServer
- Test.Sandwich.Contexts.Files
- Test.Sandwich.Contexts.Nix
- Test.Sandwich.Contexts.PostgreSQL
- Test.Sandwich.Contexts.Waits
- Test.Sandwich.Contexts.Types.Network
- Test.Sandwich.Contexts.Types.S3
Expand Down Expand Up @@ -72,6 +71,10 @@ library:
- unix-compat
- unliftio-core
- vector
when:
- condition: "!os(windows)"
exposed-modules:
- Test.Sandwich.Contexts.PostgreSQL

tests:
tests:
Expand Down

0 comments on commit a2fdf8b

Please sign in to comment.