From 6d43cd02e66ce1f742af4b96c7b8a283eb3a1e98 Mon Sep 17 00:00:00 2001 From: Tom French Date: Wed, 8 Jan 2025 17:24:56 +0000 Subject: [PATCH] . --- .../critical_libraries_status/noir-lang/ec/.actual.jsonl | 4 ---- .../noir-lang/ec/.actual.jsonl.jq | 1 - .../noir-lang/ec/.failures.jsonl.jq | 0 .github/workflows/test-js-packages.yml | 7 ++++++- 4 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 .github/critical_libraries_status/noir-lang/ec/.actual.jsonl delete mode 100644 .github/critical_libraries_status/noir-lang/ec/.actual.jsonl.jq delete mode 100644 .github/critical_libraries_status/noir-lang/ec/.failures.jsonl.jq diff --git a/.github/critical_libraries_status/noir-lang/ec/.actual.jsonl b/.github/critical_libraries_status/noir-lang/ec/.actual.jsonl deleted file mode 100644 index cb56f792778..00000000000 --- a/.github/critical_libraries_status/noir-lang/ec/.actual.jsonl +++ /dev/null @@ -1,4 +0,0 @@ -{"event":"started","name":"one","test_count":1,"type":"suite"} -{"event":"started","name":"foo","suite":"one","type":"test"} -{"event":"failed","exec_time":0.05356625,"name":"foo","suite":"one","type":"test"} -{"event":"ok","failed":0,"ignored":0,"passed":1,"type":"suite"} \ No newline at end of file diff --git a/.github/critical_libraries_status/noir-lang/ec/.actual.jsonl.jq b/.github/critical_libraries_status/noir-lang/ec/.actual.jsonl.jq deleted file mode 100644 index 1123e7e68e4..00000000000 --- a/.github/critical_libraries_status/noir-lang/ec/.actual.jsonl.jq +++ /dev/null @@ -1 +0,0 @@ -{"suite":"one","name":"foo"} diff --git a/.github/critical_libraries_status/noir-lang/ec/.failures.jsonl.jq b/.github/critical_libraries_status/noir-lang/ec/.failures.jsonl.jq deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/.github/workflows/test-js-packages.yml b/.github/workflows/test-js-packages.yml index 5222b667c2a..3fabf8ce39a 100644 --- a/.github/workflows/test-js-packages.yml +++ b/.github/workflows/test-js-packages.yml @@ -597,7 +597,12 @@ jobs: - name: Run nargo test working-directory: ./test-repo/${{ matrix.project.path }} run: | - nargo test --silence-warnings --skip-brillig-constraints-check --format json ${{ matrix.project.nargo_args }} | tee ${{ github.workspace }}/noir-repo/.github/critical_libraries_status/${{ matrix.project.repo }}/${{ matrix.project.path }}.actual.jsonl + output_file=${{ github.workspace }}/noir-repo/.github/critical_libraries_status/${{ matrix.project.repo }}/${{ matrix.project.path }}.actual.jsonl + nargo test --silence-warnings --skip-brillig-constraints-check --format json ${{ matrix.project.nargo_args }} | tee $output_file + if [ ! -s $output_file ]; then + # The file is empty so we delete it to signal that `nargo test` failed before it could run any tests + rm -f $output_file + fi env: NARGO_IGNORE_TEST_FAILURES_FROM_FOREIGN_CALLS: true