-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (29 loc) · 1002 Bytes
/
tests.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
name: CI
on: [push]
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: "Install Racket"
uses: Bogdanp/[email protected]
- name: "Install Z3"
uses: pavpanchekha/setup-z3@master
- name: "Run tests"
run: make test
induction-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: "Install Racket"
uses: Bogdanp/[email protected]
- name: "Install Z3"
uses: pavpanchekha/setup-z3@master
- run: racket src/run.rkt accept bench/just_list.rkt base |& grep -q Rejected
name: "Base case"
- run: racket src/run.rkt accept bench/just_list.rkt base2 |& grep -q Rejected
name: "Base case 2"
- run: racket src/run.rkt accept bench/just_list.rkt ind |& grep -q Rejected
name: "Inductive case"
- run: racket src/run.rkt accept bench/just_list.rkt thm |& grep -q Rejected
name: "Overall theorem"