Skip to content

Commit

Permalink
iris as a service in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
daimor committed Nov 28, 2024
1 parent ff68e2c commit 752fd79
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,23 @@ jobs:
fail-fast: false
matrix:
image:
- intersystemsdc/iris-community:latest
- intersystemsdc/iris-community:preview
- containers.intersystems.com/intersystems/iris-community:latest-cd
- containers.intersystems.com/intersystems/iris-community:latest-preview
engine:
- old
- new
runs-on: ubuntu-latest
services:
iris:
image: ${{ matrix.image }}
ports:
- 1972:1972
options: >-
--health-cmd /irisHealth.sh
--health-start-period 10s
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -39,7 +50,8 @@ jobs:
pip install tox
- name: Run Tests
run: |
tox -e py311${{ matrix.engine }} -- --container ${{ matrix.image }}
docker exec -it iris iris session iris -U%SYS '##class(Security.Users).UnExpireUserPasswords("*")'
tox -e py311${{ matrix.engine }} -- --dburi iris://_SYSTEM:SYS@localhost:1972/USER
deploy:
needs: test
if: github.event_name != 'pull_request'
Expand Down

0 comments on commit 752fd79

Please sign in to comment.