eth-statediff-compliance/.github/workflows/test.yml
Roy Crihfield ef7c42a214
Some checks failed
Test / Run unit tests (push) Failing after 5m48s
Add CI test (#1)
Simple test run comparing statediffs of the first 4 blocks of mainnet.

Reviewed-on: #1
2023-09-20 06:07:22 +00:00

31 lines
696 B
YAML

name: Test
on:
pull_request:
branches: '*'
push:
branches:
- main
- ci-test
jobs:
test:
name: Run unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
check-latest: true
- name: Set up Gitea access token
env:
TOKEN: ${{ secrets.CICD_REPO_TOKEN }}
run: |
git config --global url."https://$TOKEN:@git.vdb.to/".insteadOf https://git.vdb.to/
- name: Build tools
run: make dumpdiff.plugeth dumpdiff.geth
- name: Run diff comparison
run: ./scripts/compare-diffs.sh