Skip to content

Commit

Permalink
feat: update CI to run all the available Cairo and Cairo Zero programs (
Browse files Browse the repository at this point in the history
#123)

* feat: update CI to run all the available Cairo and Cairo Zero programs

* feat: update run-all target to exit 1 if failing

* feat: update CI to link the cairo CLI command
  • Loading branch information
zmalatrax authored Aug 6, 2024
1 parent 58fd07d commit f035f5c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,9 @@ jobs:

- name: Run tests
run: bun install && bun test

- name: Setup Cairo VM TS CLI
run: bun link

- name: Run all Cairo Zero & Cairo programs
run: make run-all
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ run-all: $(VALID_COMPILED_CAIRO_0_FILES) $(COMPILED_CAIRO_FILES)
for file in $$failed_tests; do \
echo $$file; \
done; \
exit 1; \
else \
echo "All $$passed_tests_ctr tests passed."; \
fi
Expand Down

0 comments on commit f035f5c

Please sign in to comment.