Skip to content

Commit f200fcf

Browse files
cosandreistefanescuandrii-a8c
authored
Add CI that executes all specs (#5)
* Full formal specifications for the entire library Co-authored-by: Andrei Stefanescu <[email protected]> * Added Sui-Prover CI (#1) * feat: added test ci * Update git actions * Update prover.yml * light report * . * . * Update prover.yml * Update prover.yml * . * . * Update README.md --------- Co-authored-by: Andrei Stefanescu <[email protected]> Co-authored-by: andrii-a8c <[email protected]>
1 parent 81b8ff4 commit f200fcf

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/workflows/prover.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Sui-Prover Test Action
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build-and-run:
13+
runs-on: macos-latest
14+
env:
15+
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
16+
17+
concurrency:
18+
group: ${{ github.head_ref || github.ref_name }}
19+
cancel-in-progress: true
20+
21+
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@v4
24+
25+
- name: Cache Homebrew
26+
uses: actions/cache@v4
27+
with:
28+
path: |
29+
~/Library/Caches/Homebrew
30+
/usr/local/Homebrew
31+
/opt/homebrew
32+
key: brew-macos-dotnet8-z3-rust
33+
34+
- name: Install prover by formula
35+
run: brew install asymptotic-code/sui-prover/sui-prover
36+
37+
- name: Run Tests
38+
run: |
39+
cd specs
40+
sui-prover
41+
cd ..
42+
cd specs-bv
43+
sui-prover --no-bv-int-encoding
44+
echo "All tests passed!"

0 commit comments

Comments
 (0)