From 28870a5e5b48be5004204047460eff736fe8189a 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 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 6e550de..c8cc76e 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -28,6 +28,14 @@ jobs: - old - new runs-on: ubuntu-latest + services: + iris: + image: ${{ matrix.image }} + env: + IRIS_USERNAME: test + IRIS_PASSWORD: test + ports: + - 1972:1972 steps: - uses: actions/checkout@v4 - name: Set up Python @@ -39,7 +47,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'