Skip to content

Commit a83fd78

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

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/python-publish.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,18 @@ 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: --no-healthcheck
3137
steps:
3238
- uses: actions/checkout@v4
3339
- name: Set up Python
@@ -39,7 +45,8 @@ jobs:
3945
pip install tox
4046
- name: Run Tests
4147
run: |
42-
tox -e py311${{ matrix.engine }} -- --container ${{ matrix.image }}
48+
docker exec -it iris iris session iris -U%SYS '##class(Security.Users).UnExpireUserPasswords("*")'
49+
tox -e py311${{ matrix.engine }} -- --dburi iris://_SYSTEM:SYS@localhost:1972/USER
4350
deploy:
4451
needs: test
4552
if: github.event_name != 'pull_request'

0 commit comments

Comments
 (0)