Skip to content

Commit 752fd79

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

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/python-publish.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,23 @@ 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 /irisHealth.sh
38+
--health-start-period 10s
39+
--health-interval 10s
40+
--health-timeout 5s
41+
--health-retries 5
3142
steps:
3243
- uses: actions/checkout@v4
3344
- name: Set up Python
@@ -39,7 +50,8 @@ jobs:
3950
pip install tox
4051
- name: Run Tests
4152
run: |
42-
tox -e py311${{ matrix.engine }} -- --container ${{ matrix.image }}
53+
docker exec -it iris iris session iris -U%SYS '##class(Security.Users).UnExpireUserPasswords("*")'
54+
tox -e py311${{ matrix.engine }} -- --dburi iris://_SYSTEM:SYS@localhost:1972/USER
4355
deploy:
4456
needs: test
4557
if: github.event_name != 'pull_request'

0 commit comments

Comments
 (0)