devtooling tests #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- feature/gha_tests | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | |
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
container: xavierromero/devtooling:20241210 | |
steps: | |
- name: Checkout cdk-erigon | |
uses: actions/checkout@v4 | |
- name: Setup kurtosis | |
uses: ./.github/actions/setup-kurtosis | |
- name: Set up envs | |
run: | | |
echo "L2_PRV_KEY=0x12d7de8621a77640c9241b2595ba78ce443d05e94090365ab3bb5e19df82c625" >> $GITHUB_ENV | |
echo "L2_RPC_URL=$(kurtosis port print cdk-v1 cdk-erigon-rpc-001 rpc)" >> $GITHUB_ENV | |
- name: echo | |
run: | | |
echo "L2_RPC_URL is $L2_RPC_URL" | |
echo "L2_PRV_KEY is $L2_PRV_KEY" | |
- name: Entrypoint | |
run: docker run --name devtooling --network host --detach --rm -e L2_RPC_URL=$L2_RPC_URL -e L2_PRV_KEY=$L2_PRV_KEY xavierromero/devtooling:latest | |
- name: Check Block Number | |
run: docker exec devtooling x cast bn | |
- name: Check Boundaries | |
run: docker exec devtooling x scripted -f /files/scripted/boundaries.json | |
- name: zkEVM Test Vectors | |
run: docker exec devtooling x run-zktv | |
- name: John fuzzed tests | |
run: docker exec devtooling x run-fuzzed |