Merge pull request #38 from chainhackers/36-first-integrated-launch #178
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
branches: | |
- "**" | |
tags: | |
- "v*.*.*" | |
pull_request: | |
branches: | |
- "main" | |
env: | |
FOUNDRY_PROFILE: ci | |
jobs: | |
check: | |
name: InfiniQuilt contracts | |
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 | |
working-directory: contracts | |
run: | | |
forge --version | |
forge build --sizes | |
id: build | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: interfaces-abi | |
path: contracts/out/I**sol/I**json | |
- name: Run Forge tests | |
working-directory: contracts | |
run: | | |
forge test -vvv | |
id: test |