Skip to content

Add GitHub Actions test workflow#26

Open
Yassinbrine wants to merge 1 commit into
jose-compu:mainfrom
Yassinbrine:add-ci-workflow-17
Open

Add GitHub Actions test workflow#26
Yassinbrine wants to merge 1 commit into
jose-compu:mainfrom
Yassinbrine:add-ci-workflow-17

Conversation

@Yassinbrine

Copy link
Copy Markdown

Fixes #17.

Summary

  • Adds .github/workflows/test.yml for push-to-main and pull request CI.
  • Runs the existing npm test command on Node.js 18.x and 20.x.
  • Installs a pinned Circom release (v2.2.3) before running tests.
  • Caches npm packages through actions/setup-node and caches the generated test ZK artifacts used by scripts/setup_zk_tests.sh.
  • Replaces the static README test badge with the dynamic GitHub Actions badge.

Validation

  • git diff --cached --check

I did not run the full local npm test in this workspace because circom is not installed locally. The workflow installs Circom in CI before running the repository's existing test command.

Bounty / payout

This addresses the low-severity CI/documentation improvement requested in opencircom#17. If accepted under the PayPal-compatible bounty program in opencircom#1, PayPal works here:
https://paypal.me/ShaimaaElkadi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancement: GitHub Actions CI with dynamic test badge

1 participant