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 573f7b0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ jobs:
- old
- new
runs-on: ubuntu-latest
services:
iris:
image: ${{ matrix.image }}
env:
IRIS_USERNAME: test
IRIS_PASSWORD: test
IRIS_NAMESPACE: TEST
ports:
- 1972:1972
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -39,7 +48,7 @@ jobs:
pip install tox
- name: Run Tests
run: |
tox -e py311${{ matrix.engine }} -- --container ${{ matrix.image }}
tox -e py311${{ matrix.engine }} -- --dburi iris://test:test@localhost:1972/TEST
deploy:
needs: test
if: github.event_name != 'pull_request'
Expand Down

0 comments on commit 573f7b0

Please sign in to comment.