@@ -132,8 +132,8 @@ jobs:
132132 - name : Run tests
133133 run : scripts/run_basic_tests.sh ${{ matrix.docker-image }} DIRACOS-*.sh
134134
135- integration-tests :
136- name : Integration tests
135+ integration-tests-client-only :
136+ name : Integration tests (Py2 server)
137137 if : github.repository == 'DIRACGrid/DIRACOS2'
138138 needs : build-installer
139139 runs-on : ubuntu-latest
@@ -164,3 +164,35 @@ jobs:
164164 ./integration_tests.py create \
165165 "CLIENT_DIRACOS_TARBALL_PATH=${CLIENT_DIRACOS_TARBALL_PATH}" \
166166 "CLIENT_USE_PYTHON3=Yes"
167+
168+ integration-tests-client-and-server :
169+ name : Integration tests (Py3 server)
170+ if : github.repository == 'DIRACGrid/DIRACOS2'
171+ needs : build-installer
172+ runs-on : ubuntu-latest
173+ strategy :
174+ fail-fast : false
175+ matrix :
176+ dirac-branch :
177+ - integration
178+ steps :
179+ - uses : actions/checkout@v2
180+ - uses : actions/setup-python@v2
181+ with :
182+ python-version : ' 3.9'
183+ - name : Download installer
184+ uses : actions/download-artifact@v2
185+ with :
186+ name : installer-linux-64
187+ - name : Prepare environment
188+ run : |
189+ pip install typer pyyaml gitpython packaging
190+ git clone https://github.com/DIRACGrid/DIRAC.git -b "${{ matrix.dirac-branch }}" DIRACRepo
191+ - name : Run tests
192+ run : |
193+ DIRACOS_TARBALL_PATH=$(echo ${PWD}/DIRACOS-*.sh)
194+ echo "DIRACOS_TARBALL_PATH is ${DIRACOS_TARBALL_PATH}"
195+ cd DIRACRepo
196+ ./integration_tests.py create \
197+ "DIRACOS_TARBALL_PATH=${DIRACOS_TARBALL_PATH}" \
198+ "USE_PYTHON3=Yes"
0 commit comments