From f8846b140836f6c65b1f6ab855b9bcb6cee9cdd5 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..9d8c378 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/USER deploy: needs: test if: github.event_name != 'pull_request'