Skip to content

Merge pull request #11 from rainprotocol/2023-07-18-tests #4

Merge pull request #11 from rainprotocol/2023-07-18-tests

Merge pull request #11 from rainprotocol/2023-07-18-tests #4

Workflow file for this run

name: Tests
on: [push]
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
# https://github.com/foundry-rs/foundry/issues/3440#issuecomment-1641853058
version: nightly-cc5637a979050c39b3d06bc4cc6134f0591ee8d0
- name: Run Forge fmt
run: forge fmt --check
id: fmt
- name: Run Forge build
run: forge build --sizes
id: build
- name: Run Forge tests
run: forge test -vvv --gas-report
id: test