-
Notifications
You must be signed in to change notification settings - Fork 475
43 lines (33 loc) · 930 Bytes
/
python-driver.yaml
File metadata and controls
43 lines (33 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Python Driver Tests
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: drivers/python
steps:
- uses: actions/checkout@v4
- name: Run apache/age docker image
run: docker compose up -d
- name: Set up python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install pre-requisites
run: |
sudo apt-get install python3-dev libpq-dev
pip install --no-binary psycopg -r requirements.txt
- name: Build
run: |
pip install .
- name: Test
run: |
python test_age_py.py -db "postgres" -u "postgres" -pass "agens"
python test_networkx.py -db "postgres" -u "postgres" -pass "agens"
python -m unittest -v test_agtypes.py
python -m unittest -v test_security.py