-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ee4b59
commit 3eba2f3
Showing
4 changed files
with
36 additions
and
35 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,38 @@ | ||
name: Echidna Test | ||
# name: Echidna Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
# on: | ||
# push: | ||
# branches: | ||
# - main | ||
# pull_request: | ||
|
||
env: | ||
FOUNDRY_PROFILE: ci | ||
# env: | ||
# FOUNDRY_PROFILE: ci | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
# concurrency: | ||
# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
# cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
# jobs: | ||
# test: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Checkout repository | ||
# uses: actions/checkout@v3 | ||
# with: | ||
# submodules: recursive | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
# - name: Install Foundry | ||
# uses: foundry-rs/foundry-toolchain@v1 | ||
# with: | ||
# version: nightly | ||
|
||
- name: Compile contracts | ||
run: | | ||
forge build --build-info | ||
# - name: Compile contracts | ||
# run: | | ||
# forge build --build-info | ||
|
||
- name: Run Echidna | ||
uses: crytic/echidna-action@v2 | ||
with: | ||
files: test/echidna/CryticERC4626Harness.t.sol | ||
contract: CryticERC4626Harness | ||
crytic-args: --foundry-ignore-compile --ignore-compile | ||
# - name: Run Echidna | ||
# uses: crytic/echidna-action@v2 | ||
# with: | ||
# files: test/echidna/CryticERC4626Harness.t.sol | ||
# contract: CryticERC4626Harness |
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
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
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