Skip to content

Commit

Permalink
just ls the working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
vezenovm committed Dec 17, 2024
1 parent 17c5005 commit b917155
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ jobs:
- name: Generate execution report
working-directory: ./test-repo/${{ matrix.project.path }}
run: |
ls ./target/
ls .
mv /home/runner/work/noir/noir/scripts/test_programs/execution_report.sh ./execution_report.sh
chmod +x ./execution_report.sh
./execution_report.sh 1
Expand Down
9 changes: 3 additions & 6 deletions test_programs/execution_report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,9 @@ 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 [ -e ./target/*.json ]
then
echo "ok"
else
echo "Missing compilation artifact for $PACKAGE_NAME"
exit 1
if [ ! -f ./target/*.json ]; then
echo "Missing compilation artifact for $PACKAGE_NAME"
exit 1
fi

COMPILE_TIME=$((time nargo execute --silence-warnings) 2>&1 | grep real | grep -oE '[0-9]+m[0-9]+.[0-9]+s')
Expand Down

0 comments on commit b917155

Please sign in to comment.