Skip to content

Commit 74b8b74

Browse files
authored
Merge pull request #14 from bollu/setup-ci
chore: setup CI
2 parents 3ae17cd + ff12fc0 commit 74b8b74

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/ci.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
3+
on:
4+
# Run using manual triggers from GitHub UI:
5+
# https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
6+
workflow_dispatch: {}
7+
# Run on every push:
8+
push: {}
9+
# Run on pull request activity:
10+
pull_request: {}
11+
12+
13+
jobs:
14+
build:
15+
strategy:
16+
matrix:
17+
os: [ubuntu-latest]
18+
19+
runs-on: ${{ matrix.os }}
20+
21+
steps:
22+
23+
- uses: actions/checkout@v4
24+
25+
- uses: leanprover/lean-action@v1
26+
with:
27+
auto-config: false
28+
use-mathlib-cache: false
29+
use-github-cache: true
30+
31+
- name: Run test suite
32+
run: |
33+
lake exe test | grep "PASS"

0 commit comments

Comments
 (0)