Skip to content

Commit d1dc362

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

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/python-publish.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,20 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
image:
25-
- intersystemsdc/iris-community:latest
26-
- intersystemsdc/iris-community:preview
25+
- containers.intersystems.com/intersystems/iris-community:latest-cd
26+
- containers.intersystems.com/intersystems/iris-community:latest-preview
2727
engine:
2828
- old
2929
- new
3030
runs-on: ubuntu-latest
31+
services:
32+
iris:
33+
image: ${{ matrix.image }}
34+
ports:
35+
- 1972:1972
36+
options: >-
37+
--name iris
38+
--health-cmd "/usr/irissys/dev/Cloud/ICM/waitReady.sh -m 1"
3139
steps:
3240
- uses: actions/checkout@v4
3341
- name: Set up Python
@@ -39,7 +47,8 @@ jobs:
3947
pip install tox
4048
- name: Run Tests
4149
run: |
42-
tox -e py311${{ matrix.engine }} -- --container ${{ matrix.image }}
50+
docker exec iris iris session iris -U%SYS '##class(Security.Users).UnExpireUserPasswords("*")'
51+
tox -e py311${{ matrix.engine }} -- --dburi iris://_SYSTEM:SYS@localhost:1972/USER
4352
deploy:
4453
needs: test
4554
if: github.event_name != 'pull_request'

0 commit comments

Comments
 (0)