Run forge tests in CI (#1355)
* Move foundry workflow so it is picked up by github * Require ISM in router config Co-authored-by: Asa Oines <asaoines@gmail.com>pull/1378/head
parent
5b5ce88b72
commit
c25cd842b2
@ -1,26 +0,0 @@ |
||||
name: Tests |
||||
on: [push, pull_request] |
||||
|
||||
jobs: |
||||
check: |
||||
name: Foundry project |
||||
runs-on: ubuntu-latest |
||||
steps: |
||||
- uses: actions/checkout@v2 |
||||
with: |
||||
submodules: recursive |
||||
|
||||
- name: Install Foundry |
||||
uses: onbjerg/foundry-toolchain@v1 |
||||
with: |
||||
version: nightly |
||||
|
||||
- name: Install dependencies |
||||
run: forge install |
||||
- name: Run tests |
||||
run: forge test -vvv |
||||
- name: Build Test with older solc versions |
||||
run: | |
||||
forge build --contracts src/Test.sol --use solc:0.8.0 |
||||
forge build --contracts src/Test.sol --use solc:0.7.0 |
||||
forge build --contracts src/Test.sol --use solc:0.6.0 |
Loading…
Reference in new issue