Skip to content

Commit 6f5985d

Browse files
authored
Merge pull request #1737 from haskell-servant/tests-fix
Fix tests
2 parents 6d65208 + 9a900d9 commit 6f5985d

File tree

4 files changed

+24
-5
lines changed

4 files changed

+24
-5
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Set update schedule for GitHub Actions
2+
3+
version: 2
4+
updates:
5+
6+
- package-ecosystem: "github-actions"
7+
directory: "/"
8+
schedule:
9+
# Check for updates to GitHub Actions every week
10+
interval: "weekly"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
3+
case "$(uname -s)" in
4+
Linux*) sudo apt install postgresql;;
5+
Darwin*) brew install postgresql openssl;;
6+
esac

.github/workflows/master.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
with:
2020
cabal-file: servant/servant.cabal
2121
ubuntu-version: "latest"
22-
macos-version: "latest"
2322
version: 0.1.7.0
2423
tests:
2524
name: ${{ matrix.ghc }} on ${{ matrix.os }}
@@ -29,8 +28,7 @@ jobs:
2928
matrix: ${{ fromJSON(needs.generate-matrix.outputs.matrix) }}
3029
steps:
3130
- uses: actions/checkout@v2
32-
33-
- uses: haskell/actions/setup@v2
31+
- uses: haskell-actions/setup@v2
3432
id: setup-haskell-cabal
3533
name: Setup Haskell
3634
with:
@@ -51,6 +49,9 @@ jobs:
5149
key: ${{ runner.os }}-ghc-${{ matrix.ghc }}-cabal-${{ hashFiles('**/plan.json') }}
5250
restore-keys: ${{ runner.os }}-ghc-${{ matrix.ghc }}-
5351

52+
- name: Install system dependencies
53+
run: |
54+
./.github/workflows/install-system-dependencies.sh
5455
- name: Install doctest
5556
run: |
5657
cabal install --ignore-project -j2 doctest --constraint='doctest ^>=0.22'

cabal.project

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ packages:
66
servant-auth/servant-auth-server
77
servant-auth/servant-auth-swagger
88

9-
servant-client/
109
servant-client-core/
11-
servant-http-streams/
10+
servant-client/
1211
servant-docs/
1312
servant-foreign/
13+
servant-http-streams/
14+
servant-quickcheck/
1415
servant-server/
1516
servant-swagger/
17+
1618
doc/tutorial/
1719

1820
-- servant streaming

0 commit comments

Comments
 (0)