@@ -99,12 +99,12 @@ jobs:
9999 # A virtual env is mandatory under debian
100100 if [[ "${{ matrix.container }}" == "debian13" ]]; then
101101 python -m venv khiops-debian-venv
102- source khiops-debian-venv/bin/activate
102+ source khiops-debian-venv/bin/activate
103103 fi
104104 pip install --upgrade pip
105105 pip install $(ls khiops*.tar.gz)
106106 if [[ "${{ matrix.container }}" == "debian13" ]]; then
107- deactivate
107+ deactivate
108108 fi
109109 - name : Run tests
110110 env :
@@ -125,7 +125,7 @@ jobs:
125125
126126 # A virtual env is mandatory under debian
127127 if [[ "${{ matrix.container }}" == "debian13" ]]; then
128- source khiops-debian-venv/bin/activate
128+ source khiops-debian-venv/bin/activate
129129 fi
130130
131131 # Print khiops installation status
@@ -141,18 +141,26 @@ jobs:
141141 # The MPI command is not always named mpiexec, but can be orterun etc
142142 # (as given by khiops_env)
143143 kh-status | grep "MPI command" | grep -vwq "<empty>"
144- if [[ "${{ matrix.container }}" == "debian13" ]]; then
145- deactivate
144+ if [[ "${{ matrix.container }}" == "debian13" ]]; then
145+ deactivate
146146 fi
147147 - name : Test package / Git tag version coherence
148148 shell : bash
149149 if : github.ref_type == 'tag'
150150 run : |
151151 # Don't exit on first error: print relevant error message
152152 set +e
153+ # A virtual env is mandatory under Debian 13
154+ if [[ "${{ matrix.container }}" == "debian13" ]]; then
155+ python -m venv khiops-debian-venv
156+ source khiops-debian-venv/bin/activate
157+ fi
153158 # Convert pre-release version specification in the Git tag to the Pip
154159 # format and check that it matches the Pip package version
155160 PACKAGE_VERSION=$(pip show khiops | awk 'BEGIN {FS = ": "} $1 ~ /^Version$/ {print $2}')
161+ if [[ "${{ matrix.container }}" == "debian13" ]]; then
162+ deactivate
163+ fi
156164 echo ${{ github.ref_name }} | tr -d '-' | rev | sed 's/\.//' | rev | \
157165 grep -wq $PACKAGE_VERSION
158166 if [[ $? -ne 0 ]]
0 commit comments