Skip to content

Commit

Permalink
chore: build ProofWidgets before tests (#8416)
Browse files Browse the repository at this point in the history
After leanprover/lean4#2766 this becomes critical.



Co-authored-by: Scott Morrison <[email protected]>
  • Loading branch information
kim-em and kim-em committed Nov 19, 2023
1 parent 693fd79 commit 34ab8d4
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/bors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,11 @@ jobs:
- name: test mathlib
id: test
run: make -j 8 test
run: |
# Tests use parts of ProofWidgets not imported by Mathlib.
# Ensure everything has been built.
lake build ProofWidgets
make -j 8 test
- name: lint mathlib
id: lint
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,11 @@ jobs:
- name: test mathlib
id: test
run: make -j 8 test
run: |
# Tests use parts of ProofWidgets not imported by Mathlib.
# Ensure everything has been built.
lake build ProofWidgets
make -j 8 test
- name: lint mathlib
id: lint
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,11 @@ jobs:

- name: test mathlib
id: test
run: make -j 8 test
run: |
# Tests use parts of ProofWidgets not imported by Mathlib.
# Ensure everything has been built.
lake build ProofWidgets
make -j 8 test

- name: lint mathlib
id: lint
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build_fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,11 @@ jobs:
- name: test mathlib
id: test
run: make -j 8 test
run: |
# Tests use parts of ProofWidgets not imported by Mathlib.
# Ensure everything has been built.
lake build ProofWidgets
make -j 8 test
- name: lint mathlib
id: lint
Expand Down

0 comments on commit 34ab8d4

Please sign in to comment.