Roy Crihfield
96c7e20c97
All checks were successful
Test / Run unit tests (push) Successful in 12m26s
Reviewed-on: #2
31 lines
753 B
YAML
31 lines
753 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.geth dumpdiff.plugeth-parallel dumpdiff.plugeth
|
|
|
|
- run: ./scripts/compare-diffs.sh geth plugeth
|
|
- run: ./scripts/compare-diffs.sh geth plugeth-parallel
|