Add Gambit mutation test to CI #4
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 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: Run mutation tests | |
run: | | |
yarn test:mutation |