Run Slither tests #609
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: Run Slither tests | |
on: | |
push: | |
paths: | |
- ".github/workflows/slither.yml" | |
- "program-analysis/slither/**/*.py" | |
branches: | |
- master | |
pull_request: | |
paths: | |
- ".github/workflows/slither.yml" | |
- "program-analysis/slither/**/*.py" | |
schedule: | |
# run CI every day even if no PRs/merges occur | |
- cron: "0 12 * * *" | |
jobs: | |
tests: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
pip install solc-select | |
- name: Run Tests | |
run: | | |
bash program-analysis/slither/scripts/gh_action_test.sh |