File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 57
57
requests \
58
58
typer
59
59
- name : Prepare environment
60
- run : ./integration_tests.py prepare-environment ${{ matrix.ARGS }}
60
+ run : ./integration_tests.py prepare-environment TEST_DIRACX=Yes ${{ matrix.ARGS }}
61
61
- name : Install server
62
62
run : ./integration_tests.py install-server
63
63
- name : Install client
Original file line number Diff line number Diff line change @@ -292,6 +292,11 @@ installDIRAC() {
292
292
# Arguments: list of DiracX submodule module names to install (core, client, etc.)
293
293
294
294
function installDIRACX() {
295
+ # Get the latest tag from GitHub
296
+ latest_tag=$( git ls-remote --tags https://github.com/DIRACGrid/diracx.git | awk -F/ ' {print $NF}' | grep -v ' {}' | sort -V | tail -n1)
297
+
298
+ echo " Installing from tag: $latest_tag "
299
+
295
300
for wheel_name in " $@ " ; do
296
301
if [[ -n " ${DIRACX_CUSTOM_SOURCE_PREFIXES:- } " ]]; then
297
302
wheels=( $( find " ${DIRACX_CUSTOM_SOURCE_PREFIXES} " -name " diracx_${wheel_name} -*.whl" ) )
@@ -301,7 +306,7 @@ function installDIRACX() {
301
306
fi
302
307
pip install " ${wheels[0]} "
303
308
else
304
- pip install " git+https://github.com/DIRACGrid/diracx.git@main #egg=diracx-${wheel_name} &subdirectory=diracx-${wheel_name} "
309
+ pip install " git+https://github.com/DIRACGrid/diracx.git@${latest_tag} #egg=diracx-${wheel_name} &subdirectory=diracx-${wheel_name} "
305
310
fi
306
311
done
307
312
}
You can’t perform that action at this time.
0 commit comments