Skip to content

Commit 523add4

Browse files
committed
change in testing
1 parent d13adf9 commit 523add4

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/python-publish.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,25 @@ jobs:
2828
runs-on: ubuntu-latest
2929
env:
3030
IMAGE: ${{ matrix.image }}
31+
services:
32+
iris:
33+
image: ${{ matrix.image }}
34+
env:
35+
IRIS_USERNAME: sqlalchemy
36+
IRIS_PASSWORD: sqlalchemy
37+
IRIS_NAMESPACE: TEST
3138
steps:
3239
- uses: actions/checkout@v3
3340
- run: docker pull $IMAGE
41+
- name: Install requirements
42+
run: |
43+
pip install -U pip setuptools
44+
pip install -r requirements-dev.txt
45+
pip install -r requirements-iris.txt
46+
pip install -e .
3447
- name: Run Tests
35-
env:
36-
FOLDER: /home/irisowner/sqlalchemy-iris
3748
run: |
38-
docker build --build-arg BASE=$IMAGE -t sqlalchemy-iris .
39-
docker run -i --rm sqlalchemy-iris
49+
pytest --dburi iris://sqlalchemy:sqlalchemy@localhost:1972/TEST
4050
4151
deploy:
4252
needs: test

0 commit comments

Comments
 (0)