Skip to content

Commit 1b5d019

Browse files
Update test workflow to match new example
1 parent 7d0ce6c commit 1b5d019

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/python-psycopg3-integ-tests.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,20 @@ jobs:
5353
role-to-assume: ${{ secrets.PYTHON_IAM_ROLE }}
5454
aws-region: us-east-1
5555

56-
- name: Configure and run integration for psycopg3
56+
- name: Configure and run integration for psycopg3 - admin
5757
working-directory: ./python/psycopg
5858
env:
59+
CLUSTER_USER: "admin"
5960
CLUSTER_ENDPOINT: ${{ secrets.PYTHON_PSYCOPG3_CLUSTER_ENDPOINT }}
6061
REGION: ${{ secrets.PYTHON_PSYCOPG3_CLUSTER_REGION }}
6162
run: |
62-
python3 -m venv psycopg3-integ
63-
source psycopg3-integ/bin/activate
63+
python3 -m venv .venv
64+
source .venv/bin/activate
6465
pip install --upgrade pip
6566
pip install --force-reinstall -r requirements.txt
6667
python3 -c "import boto3; print(boto3.__version__)"
67-
pip install pytest pytest-cov
6868
pip list
6969
echo "$GITHUB_WORKSPACE" >> $GITHUB_PATH
70-
pytest -v test/
70+
wget https://www.amazontrust.com/repository/AmazonRootCA1.pem -O root.pem
71+
python src/example.py
7172

0 commit comments

Comments
 (0)