Merge pull request #811 from crytic/dev-flat-ci

Add slither-flat to the CI
pull/815/head
Feist Josselin 4 years ago committed by GitHub
commit 66e2c1b7c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      .github/workflows/ci.yml
  2. 3
      examples/flat/a.sol
  3. 5
      examples/flat/b.sol
  4. 12
      scripts/ci_test_flat.sh

@ -32,7 +32,8 @@ jobs:
"slither_config",
"truffle",
"upgradability",
"prop"]
"prop",
"flat"]
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.6

@ -0,0 +1,3 @@
contract A{
}

@ -0,0 +1,5 @@
import "./a.sol";
contract B is A{
}

@ -0,0 +1,12 @@
#!/usr/bin/env bash
### Test slither-prop
cd examples/flat || exit 1
if ! slither-flat b.sol; then
echo "slither-flat failed"
exit 1
fi
exit 0
Loading…
Cancel
Save