Skip to content

Commit

Permalink
i
Browse files Browse the repository at this point in the history
  • Loading branch information
tlocke committed Sep 29, 2024
1 parent 7a5b4d6 commit e8582c3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,18 @@ jobs:
apt -y install podman
- name: Check Podman version
run: podman --version
- name: Run test
run: |
podman run \
--mount type=bind,source="${{ github.workspace }}/test/postgres_server/init_scripts",target=/docker-entrypoint-initdb.d
- name: Run postgresql
run: |
podman run \
--interactive \
--tty \
--publish 127.0.0.1:5432:5432 \
--env POSTGRES_PASSWORD=pw \
--env OUTSIDE_USER="$USER" \
--mount type=bind,source="${{ github.workspace }}/test/postgres_server/init_scripts",target=/docker-entrypoint-initdb.d \
--name pg8000-test-server \
--name pg8000-test-server \
docker.io/library/postgres:latest
- name: Test with pytest
Expand Down

0 comments on commit e8582c3

Please sign in to comment.