Skip to content

Commit 4ed53ae

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

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/python-publish.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,19 @@ 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+
--health-cmd "/usr/irissys/dev/Cloud/ICM/waitReady.sh -m 1"
3138
steps:
3239
- uses: actions/checkout@v4
3340
- name: Set up Python
@@ -39,7 +46,8 @@ jobs:
3946
pip install tox
4047
- name: Run Tests
4148
run: |
42-
tox -e py311${{ matrix.engine }} -- --container ${{ matrix.image }}
49+
docker exec -it iris iris session iris -U%SYS '##class(Security.Users).UnExpireUserPasswords("*")'
50+
tox -e py311${{ matrix.engine }} -- --dburi iris://_SYSTEM:SYS@localhost:1972/USER
4351
deploy:
4452
needs: test
4553
if: github.event_name != 'pull_request'

0 commit comments

Comments
 (0)