From 708c1fdef4b11ff19332528c901e738c56d9af97 Mon Sep 17 00:00:00 2001 From: Tony Locke Date: Sun, 29 Sep 2024 18:52:47 +0100 Subject: [PATCH] i --- .github/workflows/test.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3b6338c..1ddd0b7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,9 +40,21 @@ jobs: git config --global --add safe.directory "$GITHUB_WORKSPACE" python -m pip install --no-cache-dir --upgrade pip pip install --no-cache-dir --root-user-action ignore pytest pytest-mock pytest-benchmark pytz . + - name: Install Podman + run: | + sudo apt-get update + sudo apt-get -y install podman + - name: Check Podman version + run: podman --version + - name: Run postgresql + run: ${{ github.workspace }}/test/postgres_server/run_test_server.sh - name: Test with pytest run: | python -m pytest -x -v -W error test --ignore=test/test_readme.py + - name: Stop and remove the container + run: | + podman stop pg8000-test-server + podman rm pg8000-test-server static-test: runs-on: ubuntu-latest