diff --git a/.github/workflows/reports.yml b/.github/workflows/reports.yml index 947e1836cbd..0f85b7d5897 100644 --- a/.github/workflows/reports.yml +++ b/.github/workflows/reports.yml @@ -657,7 +657,9 @@ jobs: if [[ "$PACKAGE_NAME" == "$NAME_FROM_MATRIX" ]]; then echo "got here" mkdir ./test-repo/${{ matrix.project.path }}/target - mv $artifact ./test-repo/${{ matrix.project.path }}/target/$PACKAGE_NAME.json + cd ./artifacts + cp ./artifacts/$ARTIFACT_NAME ./$ARTIFACT_NAME.json + mv $ARTIFACT_NAME.json ./test-repo/${{ matrix.project.path }}/target/$PACKAGE_NAME.json break fi ls ./test-repo/${{ matrix.project.path }} @@ -670,7 +672,7 @@ jobs: - name: Generate execution report working-directory: ./test-repo/${{ matrix.project.path }} run: | - ls . + ls ./target/ mv /home/runner/work/noir/noir/scripts/test_programs/execution_report.sh ./execution_report.sh chmod +x ./execution_report.sh ./execution_report.sh 1 diff --git a/test_programs/execution_report.sh b/test_programs/execution_report.sh index a9bdda1943a..b4ef7c919d5 100755 --- a/test_programs/execution_report.sh +++ b/test_programs/execution_report.sh @@ -44,7 +44,7 @@ for dir in ${tests_to_profile[@]}; do # Check whether a compilation artifact exists. # Any programs part of this benchmark should already be compiled. # We want to make sure that compilation time is not included in the execution time. - if [ ! -f ./target/*.json ]; then + if [[ ! -e ./target/*.json ]]; then echo "Missing compilation artifact for $PACKAGE_NAME" exit 1 fi