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 c73f447 commit 7a5b4d6
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,17 @@ jobs:
- name: Check Podman version
run: podman --version
- name: Run postgresql
run: test/postgres_server/run_test_server.sh
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 \
docker.io/library/postgres:latest
- name: Test with pytest
run: |
python -m pytest -x -v -W error test --ignore=test/test_readme.py
Expand Down

0 comments on commit 7a5b4d6

Please sign in to comment.