Move crates under substreams directory.
This way we can run GHA jobs depending on what files changed.
This commit is contained in:
41
.github/workflows/evm.yml
vendored
Normal file
41
.github/workflows/evm.yml
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
name: test evm
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "evm/**"
|
||||
|
||||
env:
|
||||
FOUNDRY_PROFILE: ci
|
||||
|
||||
jobs:
|
||||
check:
|
||||
strategy:
|
||||
fail-fast: true
|
||||
|
||||
name: Foundry project
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Install Foundry
|
||||
uses: foundry-rs/foundry-toolchain@v1
|
||||
with:
|
||||
version: nightly
|
||||
|
||||
- name: Run Forge build
|
||||
run: |
|
||||
cd evm
|
||||
forge --version
|
||||
forge build --sizes
|
||||
id: build
|
||||
|
||||
- name: Run Forge tests
|
||||
run: |
|
||||
cd evm
|
||||
forge test -vvv
|
||||
id: test
|
||||
env:
|
||||
ETH_RPC_URL: ${{ secrets.ETH_RPC_URL }}
|
||||
Reference in New Issue
Block a user