Skip to content

Add automated toolings for testing contracts #12

Add automated toolings for testing contracts

Add automated toolings for testing contracts #12

Workflow file for this run

name: Slither Mutate Analysis
#on: workflow_dispatch
on:
pull_request:
branches: [ main ]
env:
FOUNDRY_PROFILE: ci
jobs:
check:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install Slither
run: |
pip install slither-analyzer
- name: Run Slither-Mutate
run: |
slither-mutate . --test-cmd='forge test' --test-dir='test' --ignore-dirs='script,lib,test,utils,deployment'
id: slither-mutate