diff --git a/.github/workflows/add-to-registry.yml b/.github/workflows/add-to-registry.yml index d0536c8f..4b56a8fc 100644 --- a/.github/workflows/add-to-registry.yml +++ b/.github/workflows/add-to-registry.yml @@ -3,6 +3,8 @@ on: push: branches: - main + paths: + - '**/*.cairo' jobs: test: diff --git a/tools/make/fuzzer.sh b/tools/make/fuzzer.sh index 129ffaa0..f74e0c7f 100755 --- a/tools/make/fuzzer.sh +++ b/tools/make/fuzzer.sh @@ -49,12 +49,8 @@ cairo-compile --cairo_path="packages/eth_essentials" "$cairo_file" --output "bui # Export the function so it's accessible to subshells spawned by parallel export -f run_tests -# Determine the number of available cores -N=6 -echo "Using $N cores for parallel execution." - # Run the same test file repeatedly, maintaining N parallel instances -seq inf | parallel -j$N --halt soon,fail=1 run_tests $cairo_file +seq inf | parallel --halt soon,fail=1 run_tests $cairo_file # Capture and return the exit status of parallel exit_status=$? diff --git a/tools/make/requirements.txt b/tools/make/requirements.txt index f3b41b6e..abdbd5ba 100644 --- a/tools/make/requirements.txt +++ b/tools/make/requirements.txt @@ -6,4 +6,4 @@ python-dotenv pysha3 web3==5.28.0 trie -black \ No newline at end of file +black