Skip to content

Commit

Permalink
devtooling tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xavier-romero committed Dec 10, 2024
1 parent 4c31a8c commit bfdbc48
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions .github/workflows/devtooling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
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:
# kurtosis-cdk:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# da-mode: [ "rollup", "cdk-validium" ]
# outputs:
# l2_rpc_url: ${{ steps.env.outputs.L2_RPC_URL }}
# l2_prv_key: ${{ steps.env.outputs.L2_PRV_KEY }}
# steps:
# - name: Checkout cdk-erigon
# uses: actions/checkout@v4

# - name: Setup kurtosis
# uses: ./.github/actions/setup-kurtosis

# - name: Set up envs
# id: env
# run: |
# echo "L2_PRV_KEY=0x12d7de8621a77640c9241b2595ba78ce443d05e94090365ab3bb5e19df82c625" >> $GITHUB_OUTPUT
# echo "L2_RPC_URL=$(kurtosis port print cdk-v1 cdk-erigon-rpc-001 rpc)" >> $GITHUB_OUTPUT

tests:
runs-on: ubuntu-latest
container: xavierromero/devtooling:latest
# needs: kurtosis-cdk
steps:
- name: Checkout cdk-erigon
uses: actions/checkout@v4

- name: Setup kurtosis
uses: ./.github/actions/setup-kurtosis

# - name: Env
# run: |
# echo "L2_RPC_URL=${{ needs.kurtosis-cdk.outputs.l2_rpc_url }}" >> $GITHUB_ENV
# echo "L2_PRV_KEY=${{ needs.kurtosis-cdk.outputs.l2_prv_key }}" >> $GITHUB_ENV
- 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: /entrypoint.sh ls

- name: Cast
run: bash -c "/usr/bin/x cast bn"

- name: Boundaries
run: /usr/bin/x scripted -f /files/scripted/boundaries.json

- name: zkEVM Test Vectors
run: /usr/bin/x run-zktv

0 comments on commit bfdbc48

Please sign in to comment.