mirror of https://github.com/crytic/echidna
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
751 B
35 lines
751 B
name: Action
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- nix
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Assert test
|
|
uses: crytic/echidna-action@v2
|
|
with:
|
|
files: "tests/solidity/basic/assert.sol"
|
|
contract: "TestAssert"
|
|
config: "tests/solidity/basic/assert.yaml"
|
|
solc-version: 0.6.12
|
|
negate-exit-status: 1
|
|
|
|
- name: Multi-abi test
|
|
uses: crytic/echidna-action@v2
|
|
with:
|
|
files: "tests/solidity/basic/multi-abi.sol"
|
|
contract: "B"
|
|
multi-abi: true
|
|
solc-version: 0.7.6
|
|
negate-exit-status: 1
|
|
|