Skip to content

Commit 573f7b0

Browse files
committed
iris as a service in ci
1 parent ff68e2c commit 573f7b0

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/python-publish.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@ jobs:
2828
- old
2929
- new
3030
runs-on: ubuntu-latest
31+
services:
32+
iris:
33+
image: ${{ matrix.image }}
34+
env:
35+
IRIS_USERNAME: test
36+
IRIS_PASSWORD: test
37+
IRIS_NAMESPACE: TEST
38+
ports:
39+
- 1972:1972
3140
steps:
3241
- uses: actions/checkout@v4
3342
- name: Set up Python
@@ -39,7 +48,7 @@ jobs:
3948
pip install tox
4049
- name: Run Tests
4150
run: |
42-
tox -e py311${{ matrix.engine }} -- --container ${{ matrix.image }}
51+
tox -e py311${{ matrix.engine }} -- --dburi iris://test:test@localhost:1972/TEST
4352
deploy:
4453
needs: test
4554
if: github.event_name != 'pull_request'

0 commit comments

Comments
 (0)