Fix issue #1399 EXISTS doesn't handle non-existent labels (#1400) #1004
Workflow file for this run
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: Python Driver Tests | |
on: | |
push: | |
branches: [ "PG13" ] | |
pull_request: | |
branches: [ "PG13" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: drivers/python | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run apache/age docker image | |
run: docker-compose up -d | |
- name: Set up python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install pre-requisites | |
run: | | |
sudo apt-get install python3-dev libpq-dev | |
pip install -r requirements.txt | |
- name: Build | |
run: python setup.py install | |
- name: Test | |
run: | | |
python test_age_py.py -db "postgres" -u "postgres" -pass "agens" | |
python -m unittest -v test_agtypes.py |