Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hotzenklotz committed Oct 28, 2024
1 parent 98337a4 commit da87a2a
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/build_test_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,25 @@ jobs:

build_test_deploy:
runs-on: ubuntu-24.04
env:
# The hostname used to communicate with the PostgreSQL service container
POSTGRES_HOST: localhost
POSTGRES_PORT: 5432
services:
postgres:
image: postgres:10-alpine
env:
POSTGRES_DB: webknossos
POSTGRES_USER: webknossos_user
POSTGRES_PASSWORD: secret_password
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 2s
--health-timeout 5s
--health-retries 30
ports:
- 5432:5432
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -80,8 +99,8 @@ jobs:

- name: Install OS dependencies / libs
run: sudo apt-get update && sudo apt-get install -y \
draco \
c-blosc
libdraco-dev \
libblosc-dev

# build-essential \
# cmake \
Expand Down

0 comments on commit da87a2a

Please sign in to comment.