Update all dependencies - autoclosed #201
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test whether the dockerized versions work (with secrets) | |
on: | |
push: | |
pull_request: | |
branches: [main] | |
jobs: | |
test-docker-compose: | |
name: verify docker-compose setup | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Start postgres databases in docker-compose | |
run: docker-compose up -d | |
- name: Verify that mapmatching database is up and can be connected to | |
uses: HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1 | |
env: | |
POSTGRES_USER: username | |
POSTGRES_DB: testdb | |
PGPASSWORD: password | |
with: | |
command: | |
'psql -h localhost -p 6432 -U "$POSTGRES_USER" -d "$POSTGRES_DB" -c | |
"SELECT ''OK'';"' | |
- name: Verify that azuredbmock database is up and can be connected to | |
uses: HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1 | |
env: | |
POSTGRES_USER: username | |
POSTGRES_DB: testdb | |
PGPASSWORD: password | |
with: | |
command: | |
'psql -h localhost -p 7432 -U "$POSTGRES_USER" -d "$POSTGRES_DB" -c | |
"SELECT ''OK'';"' |