Skip to content

Commit

Permalink
the test script for azure pipelines should break the ci if it fails
Browse files Browse the repository at this point in the history
  • Loading branch information
xmnlab authored Oct 24, 2024
1 parent 4336ef7 commit 2830945
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/smoke/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@ popd

. ${SMOKE_DIR}/base-template.sh "use_azure_pipelines=yes use_conda=yes"
pushd /tmp/osl/osl-python-package
validation_output=$(python "${SMOKE_DIR}/../scripts/test_azure_pipelines.py" ${SMOKE_DIR}/schemas/azure-pipelines.json azure-pipelines.yml)
echo "$validation_output"
python "${SMOKE_DIR}/../scripts/test_azure_pipelines.py" ${SMOKE_DIR}/schemas/azure-pipelines.json azure-pipelines.yml
popd

. ${SMOKE_DIR}/base-template.sh "use_azure_pipelines=yes use_pyenv=yes"
pushd /tmp/osl/osl-python-package
validation_output=$(python "${SMOKE_DIR}/../scripts/test_azure_pipelines.py" ${SMOKE_DIR}/schemas/azure-pipelines.json azure-pipelines.yml)
echo "$validation_output"
python "${SMOKE_DIR}/../scripts/test_azure_pipelines.py" ${SMOKE_DIR}/schemas/azure-pipelines.json azure-pipelines.yml
popd

0 comments on commit 2830945

Please sign in to comment.