mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Add integration testing to CI pipeline.
This commit is contained in:
parent
11c9f7df46
commit
2c7940f9d8
1 changed files with 42 additions and 0 deletions
42
.github/workflows/integration-examples.yml
vendored
Normal file
42
.github/workflows/integration-examples.yml
vendored
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
name: Integration examples
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
suapp-examples:
|
||||||
|
name: Devenv
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Set up Go 1.x
|
||||||
|
uses: actions/setup-go@v3
|
||||||
|
with:
|
||||||
|
go-version: 1.21
|
||||||
|
id: go
|
||||||
|
|
||||||
|
- name: Install Foundry
|
||||||
|
uses: foundry-rs/foundry-toolchain@v1
|
||||||
|
|
||||||
|
- name: Check out code into the Go module directory
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Run dev environment
|
||||||
|
run: docker-compose -f ./suave/devenv/docker-compose.yml up -d --build
|
||||||
|
|
||||||
|
- name: Check out suapp-examples
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
repository: flashbots/suapp-examples
|
||||||
|
path: suapp-examples
|
||||||
|
|
||||||
|
- name: Build suapp-examples
|
||||||
|
run: |
|
||||||
|
cd suapp-examples
|
||||||
|
forge build
|
||||||
|
|
||||||
|
- name: Run suapp-examples
|
||||||
|
run: |
|
||||||
|
cd suapp-examples
|
||||||
|
make run-integration
|
||||||
Loading…
Reference in a new issue