mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-01-08 21:48:11 -05:00
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
name: Integration
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- staging
|
|
- develop
|
|
- alpha
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- reopened
|
|
- synchronize
|
|
- ready_for_review
|
|
|
|
jobs:
|
|
tests:
|
|
if: github.event.pull_request.draft == false
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Install Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.21.x
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
- name: Install Solc
|
|
uses: supplypike/setup-bin@v3
|
|
with:
|
|
uri: 'https://github.com/ethereum/solidity/releases/download/v0.8.24/solc-static-linux'
|
|
name: 'solc'
|
|
version: '0.8.24'
|
|
- name: Install Geth Tools
|
|
uses: gacts/install-geth-tools@v1
|
|
- name: Build prerequisites
|
|
run: |
|
|
make dev_docker
|
|
make -C rollup mock_abi
|
|
make -C common/bytecode all
|
|
make -C coordinator/internal/logic/libzkp build
|
|
- name: Run integration tests
|
|
run: |
|
|
go test -v -tags="mock_prover mock_verifier" -p 1 -coverprofile=coverage.txt scroll-tech/integration-test/...
|