6161 if : ${{ inputs.has-azure-credentials == 'true' }}
6262 shell : bash
6363 run : |
64+ echo ::group::Install Azure CLI
6465 curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
66+ echo ::endgroup::
6567
6668 - name : Azure Login
6769 if : ${{ inputs.has-azure-credentials == 'true' }}
7577 if : ${{ inputs.has-azure-credentials == 'true' }}
7678 shell : bash
7779 run : |
80+ echo ::group::Azure ACR Login
7881 az acr login --name nemoci
82+ echo ::endgroup::
7983
8084 # - name: Azure Fileshare
8185 # if: ${{ inputs.has-azure-credentials == 'true' && inputs.is_unit_test == 'false' }}
@@ -141,11 +145,14 @@ runs:
141145 env :
142146 GH_TOKEN : ${{ inputs.PAT }}
143147 run : |
148+ echo ::group::Build test container
144149 docker build -f docker/Dockerfile.ci --build-arg INFERENCE_FRAMEWORK=${{ inputs.inference-framework }} --secret id=GH_TOKEN -t export-deploy .
150+ echo ::endgroup::
145151
146152 - name : Start container
147153 shell : bash
148154 run : |
155+ echo ::group::Start test container
149156 MNT_PATH=/mnt/datadrive # ${{ steps.azure-fileshare.outputs.mnt_path }}
150157
151158 ARG=("")
@@ -175,11 +182,13 @@ runs:
175182
176183 echo "$cmd" | tee "retry_job.sh"
177184 bash retry_job.sh
185+ echo ::endgroup::
178186
179187 - name : Create run-script
180188 id : create
181189 shell : bash
182190 run : |
191+ echo ::group::Create run-script
183192 COVERAGE_PREFIX=$([[ "${{ inputs.is_unit_test }}" == "true" ]] && echo "unit-test" || echo "e2e")
184193 echo "coverage-prefix=$COVERAGE_PREFIX" | tee -a "$GITHUB_OUTPUT"
185194
@@ -196,6 +205,7 @@ runs:
196205
197206 echo "timeout_in_seconds=$(( ${{ inputs.timeout }} * 60 ))" | tee -a "$GITHUB_OUTPUT"
198207 echo "$cmd" | tee "job.sh"
208+ echo ::endgroup::
199209
200210 - name : Run main script
201211 uses : nick-fields/retry@v3
@@ -212,6 +222,7 @@ runs:
212222 id : check
213223 shell : bash
214224 run : |
225+ echo ::group::Check result
215226 docker exec nemo_container_${{ github.run_id }} /opt/venv/bin/coverage combine || true
216227 docker exec nemo_container_${{ github.run_id }} /opt/venv/bin/coverage xml
217228 docker cp nemo_container_${{ github.run_id }}:/workspace/.coverage .coverage
@@ -234,11 +245,14 @@ runs:
234245 fi
235246
236247 exit $EXIT_CODE
248+ echo ::endgroup::
237249
238250 - name : Test coverage
239251 shell : bash -x -e -u -o pipefail {0}
240252 run : |
253+ echo ::group::Test coverage
241254 docker exec -t nemo_container_${{ github.run_id }} /opt/venv/bin/coverage report -i
255+ echo ::endgroup::
242256
243257 - name : Upload artifacts
244258 uses : actions/upload-artifact@v4
0 commit comments