Add Gambit mutation test to CI #6
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: Gambit mutation testing | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
run-mutation-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Setup node/yarn | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
cache-dependency-path: '**/yarn.lock' | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Install Gambit | |
run: | | |
wget -O gambit https://github.com/Certora/gambit/releases/download/v1.0.5/gambit-linux-v1.0.5 | |
chmod +x gambit | |
sudo mv gambit /usr/local/bin/ | |
- name: Verify Gambit Installation | |
run: gambit --help | |
- name: Install packages | |
run: yarn | |
- name: Verify solc Installation | |
run: solc --version | |
- name: Run mutation tests | |
run: | | |
yarn test:mutation |