From 2d2f2df360d12e1e27c38b3ea8f2baa05090ffb8 Mon Sep 17 00:00:00 2001 From: Christopher McCarthy Date: Mon, 8 Jul 2024 08:26:52 +0000 Subject: [PATCH] Added set -e to the Run Benchmark Script step in azure-benchmark-pipeline.yaml so that the pipeline fails if the python script fails. --- .azure/azure-benchmark-pipeline.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.azure/azure-benchmark-pipeline.yaml b/.azure/azure-benchmark-pipeline.yaml index 350123e5..7eab2114 100644 --- a/.azure/azure-benchmark-pipeline.yaml +++ b/.azure/azure-benchmark-pipeline.yaml @@ -53,6 +53,7 @@ jobs: displayName: 'Install Dependencies' - script: | + set -e cd benchmark python3 primaite_benchmark.py cd ..