Skip to content

Commit

Permalink
Change PATH for Postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
kmicklas committed Jun 8, 2024
1 parent f35bcdb commit 26fc559
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Postgres
uses: awalsh128/cache-apt-pkgs-action@v1
with:
packages: postgresql
- uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
- name: Build
run: cabal build all --enable-tests
- name: Test
run: cabal test all --enable-tests
run: |
export PATH=$PATH:/usr/lib/postgresql/*/bin
cabal test all --enable-tests
- name: Build documentation
run: cabal haddock all

0 comments on commit 26fc559

Please sign in to comment.