Skip to content

Commit

Permalink
chore: remove twitter tests from actions
Browse files Browse the repository at this point in the history
  • Loading branch information
saleel committed Feb 5, 2024
1 parent ff10bb7 commit 4fdedad
Showing 1 changed file with 0 additions and 78 deletions.
78 changes: 0 additions & 78 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,85 +16,7 @@ jobs:
command: yarn test -w 2
name: Run circom tests
working_directory: ~/zk-email-verify/packages/circuits

run_twitter_circuit_tests:
docker:
- image: saleel/circom:2.1.6
steps:
- checkout:
path: ~/zk-email-verify
- node/install-packages:
pkg-manager: yarn
app-dir: ~/zk-email-verify/examples/twitter-verifier/twitter-verifier-circuits
- run:
command: yarn test
name: Run circom tests
working_directory: ~/zk-email-verify/examples/twitter-verifier/twitter-verifier-circuits

run_forge_tests:
docker:
- image: ghcr.io/foundry-rs/foundry:latest
steps:
- checkout:
path: ~/zk-email-verify
- run:
command: |
apk add nodejs npm && npm install --global yarn
- node/install-packages:
pkg-manager: yarn
app-dir: ~/zk-email-verify/examples/twitter-verifier/twitter-verifier-contracts
- run:
name: run foundry tests
working_directory: ~/zk-email-verify/examples/twitter-verifier/twitter-verifier-contracts
command: forge test --fork-url https://eth-goerli.g.alchemy.com/v2/${ALCHEMY_API_KEY}

run_unit_and_e2e_tests:
docker:
- image: cimg/node:16.19-browsers
steps:
- checkout:
path: ~/zk-email-verify
- run: node --version
- run:
command: yarn && yarn build
name: Build Helpers
working_directory: ~/zk-email-verify/packages/helpers
- node/install-packages:
override-ci-command: yarn install --mode=update-lockfile && yarn install
cache-path: ~/zk-email-verify/examples/twitter-verifier/twitter-verifier-app/node_modules
app-dir: ~/zk-email-verify/examples/twitter-verifier/twitter-verifier-app
- run:
command: yarn test
name: Run unit tests
working_directory: ~/zk-email-verify/examples/twitter-verifier/twitter-verifier-app
environment:
JEST_JUNIT_OUTPUT: reports/unit-test-results.xml
- run:
command: CI=false yarn run build
name: Build app
working_directory: ~/zk-email-verify/examples/twitter-verifier/twitter-verifier-app
- run:
command: yarn run start-e2e-test-server
name: Start test server
working_directory: ~/zk-email-verify/examples/twitter-verifier/twitter-verifier-app
background: true
- run:
command: yarn test:e2e-ui
name: Run e2e tests for UI
working_directory: ~/zk-email-verify/examples/twitter-verifier/twitter-verifier-app
environment:
JEST_JUNIT_OUTPUT: reports/e2e-ui-test-results.xml
# - run:
# command: yarn test:e2e-zkp
# name: Run e2e tests for zkp
# environment:
# JEST_JUNIT_OUTPUT: reports/e2e-zkp-test-results.xml
- store_test_results:
path: reports/
workflows:
build_test:
jobs:
- run_circuit_tests
# - run_twitter_circuit_tests
- run_unit_and_e2e_tests
- run_forge_tests

0 comments on commit 4fdedad

Please sign in to comment.