From 573f7b0645f3ed8c24e9142f036af97ddc4b3dbf Mon Sep 17 00:00:00 2001 From: Dmitry Maslennikov Date: Fri, 29 Nov 2024 07:27:55 +1100 Subject: [PATCH] iris as a service in ci --- .github/workflows/python-publish.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 6e550de..4292875 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -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 @@ -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'