Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 2 additions & 15 deletions .github/workflows/quint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
needs: detect
if: needs.detect.outputs.quint == 'true'
runs-on: ubuntu-latest
# The focused Quint Connect Nix package compiles the CLI crate, so this needs more
# headroom than the pure-Quint steps alone required.
# The Rust/Quint Connect MBT suite already runs in the Nix CI cli-tests
# check on both Linux and macOS. Keep this workflow spec-only.
timeout-minutes: 30
steps:
- name: Harden the runner (Audit all outbound calls)
Expand All @@ -70,12 +70,6 @@ jobs:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@ef8a148080ab6020fd15196c2084a2eea5ff2d25 # v22

- name: Enable Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@908b263ff629f4cc17666315b7fd3ec127c6244d # v14
with:
use-flakehub: false
use-gha-cache: true

- name: Typecheck Quint spec
run: nix run .#quint -- typecheck spec/mutation_cursor.qnt

Expand All @@ -95,13 +89,6 @@ jobs:
--max-samples=5000
--max-steps=20

- name: Quint Connect model-based tests (Nix-pinned Rust + Quint)
# The entire MBT invocation goes through this opt-in Nix package rather than
# `cargo test` on the runner's own Cargo, so both the Rust toolchain
# and the Quint binary come from the repository's pinned flake
# inputs, never a second, unpinned Rust installation.
run: nix build .#mutation-trace-quint-connect --print-build-logs

gate:
name: Quint gate
if: always()
Expand Down
10 changes: 5 additions & 5 deletions context/cli/mutation-trace-quint-connect.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1551,7 +1551,7 @@

# The dedicated MBT runner is opt-in as a package, not a flake check:
# cli-tests already executes the same mutation_trace::mbt test module.
# Quint CI still invokes this focused runner independently.
# The Quint workflow tests the spec separately, without rebuilding Rust MBT.
mutationTraceQuintConnectCheck = craneLib.cargoTest (
testCargoArgs
// {
Expand Down
Loading