Skip to content

Commit

Permalink
chore: CI should fail on warnings (#257)
Browse files Browse the repository at this point in the history
* chore: some work on CI try 1

* chore: remove unused script
  • Loading branch information
hargoniX authored Jan 5, 2025
1 parent 94d42b3 commit c18db20
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 28 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,17 @@ on:

jobs:
build:
name: batteries test build
name: doc-gen test build
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: install elan and build doc-gen4
uses: leanprover/lean-action@v1
with:
build-args: "--wfail"

- name: Checkout batteries
run: |
cd ../
git clone https://github.com/leanprover-community/batteries
- name: generate docs
run: |
cd ../
./doc-gen4/test_docs.sh "batteries" "doc-gen4"
- run: |
export LEAN_ABORT_ON_PANIC=1
lake build DocGen4:docs
18 changes: 0 additions & 18 deletions test_docs.sh

This file was deleted.

0 comments on commit c18db20

Please sign in to comment.