Skip to content

Commit

Permalink
feature: regression tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelArtists committed May 22, 2024
1 parent 38433c7 commit a272e06
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/regression-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Regression Tests

on:
pull_request:
types: [opened, synchronize] # Trigger on new PR and existing with new commits
branches:
- develop

jobs:
deploy_devnet:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build image (with proposed code changes) locally
id: build
run: |
if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then
GITHUB_SHA_SHORT=$(jq -r .pull_request.head.sha "$GITHUB_EVENT_PATH" | cut -c 1-7)
echo $GITHUB_SHA_SHORT
echo "::set-output name=GITHUB_SHA_SHORT::$GITHUB_SHA_SHORT"
fi
- name: Set up Docker
uses: docker/setup-buildx-action@v1

- name: Run regression tests against JIT container image
uses: 0xPolygon/[email protected]
with:
zkevm_dac: ${{ steps.build.outputs.GITHUB_SHA_SHORT }}
kurtosis_cli: 0.89.3
kurtosis_cdk: v0.2.0

0 comments on commit a272e06

Please sign in to comment.