This repository has been archived by the owner on Sep 29, 2023. It is now read-only.
Merge pull request #3 from ProjectOpenSea/dan/2023/09/add-dynamic-met… #8
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: Forge Tests | |
on: | |
push: | |
branches: [main] | |
tags: ["*"] | |
pull_request: | |
types: [opened, reopened, synchronize] | |
env: | |
FOUNDRY_PROFILE: ci | |
permissions: | |
contents: write | |
jobs: | |
check: | |
strategy: | |
fail-fast: true | |
name: Foundry project | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
submodules: recursive | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Run Forge build | |
run: | | |
forge --version | |
forge build --sizes | |
id: build | |
- name: Run Forge tests | |
run: | | |
FOUNDRY_PROFILE=CI forge test -vvv | |
id: test |