-
Notifications
You must be signed in to change notification settings - Fork 18
53 lines (49 loc) · 1.5 KB
/
quint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
on:
workflow_dispatch:
push:
branches:
- main
paths:
- Specs/Quint/**
pull_request:
paths:
- Specs/Quint/**
name: Quint
jobs:
quint-typecheck:
name: Typecheck
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./Specs/Quint
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "18"
- run: npm install -g @informalsystems/quint
- run: npx @informalsystems/quint typecheck AsyncModels.qnt
- run: npx @informalsystems/quint typecheck basicSpells.qnt
- run: npx @informalsystems/quint typecheck consensus.qnt
- run: npx @informalsystems/quint typecheck consensustest.qnt
- run: npx @informalsystems/quint typecheck executor.qnt
- run: npx @informalsystems/quint typecheck extraSpells.qnt
- run: npx @informalsystems/quint typecheck statemachine.qnt
- run: npx @informalsystems/quint typecheck statemachineAsync.qnt
- run: npx @informalsystems/quint typecheck voteBookkeeper.qnt
quint-test:
name: Test
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./Specs/Quint
env:
MAX_STEPS: 20
MAX_SAMPLES: 10000
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "18"
- run: npm install -g @informalsystems/quint
- run: npx @informalsystems/quint run --max-steps $MAX_STEPS --max-samples $MAX_SAMPLES consensustest.qnt