File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments