Download .github/workflows/honesty.yml from SNAPKITTYWEST/montrepol: direct link, hf CLI and curl.
- Browser
- Download file 1.64 kB
-
https://huggingface.co/SNAPKITTYWEST/montrepol/resolve/main/.github/workflows/honesty.yml
- Command line
-
hf download hf://SNAPKITTYWEST/montrepol/.github/workflows/honesty.yml
-
curl -L -o honesty.yml https://huggingface.co/SNAPKITTYWEST/montrepol/resolve/main/.github/workflows/honesty.yml
1.64 kB
| # SPDX-License-Identifier: AGPL-3.0-or-later | |
| # Falsifiability: every planted defect in model/mutants.toml must be caught by | |
| # the tests it names. Split from `ci` so a failure here reads as "a test can no | |
| # longer fail", not "the code is broken". | |
| name: honesty | |
| on: | |
| push: { branches: [main] } | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| mutants: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: haskell-actions/setup@v2 | |
| with: | |
| ghc-version: "9.10.1" | |
| cabal-version: "3.12.1.0" | |
| - uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cabal/store | |
| dist-newstyle | |
| key: ${{ runner.os }}-ghc-9.10.1-${{ hashFiles('cabal.project', 'packages/*/*.cabal') }} | |
| # Proof mutants are replayed with Agda, refinement mutants with Liquid | |
| # Haskell and Z3; the liquid layer resolves against Hackage. | |
| - run: sudo apt-get update && sudo apt-get install -y agda-bin z3 | |
| - uses: actions/cache@v4 | |
| with: | |
| path: liquid/dist-newstyle | |
| key: ${{ runner.os }}-liquid-${{ hashFiles('liquid/cabal.project', 'liquid/*.cabal') }} | |
| - run: cabal update | |
| # Dex mutants are replayed with the pinned Dex toolchain. | |
| - uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.stack | |
| dex/.toolchain | |
| key: ${{ runner.os }}-dex-${{ hashFiles('dex/build.sh') }} | |
| - run: ./dex/build.sh | |
| - run: cabal build all | |
| - run: cabal run mp-gate -- mutants | |
| # The mutant run restores every file it touches; prove the tree is clean. | |
| - run: git diff --exit-code | |