-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework checks and add html-with-errors make target (#266)
* Add html-with-errors make target * Check all branches for links and errors * Update badges in README
- Loading branch information
1 parent
159087e
commit 67032d1
Showing
6 changed files
with
29 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
name: "Check Page for Warnings Iron" | ||
name: "Check Page for Broken Links - PR" | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- iron | ||
schedule: | ||
# Run every morning to ensure component documentation is up to date on deployment | ||
- cron: '23 5 * * *' | ||
pull_request: | ||
|
||
jobs: | ||
build-halt-on-warnings: | ||
check-links: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: iron | ||
fetch-depth: 0 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
|
@@ -32,15 +26,17 @@ jobs: | |
cd generate_parameter_library/generate_parameter_library_py/ | ||
python -m pip install . | ||
shell: bash | ||
- name: Install doxygen and graphviz | ||
run: sudo apt-get install -y doxygen graphviz | ||
- name: Restore stats | ||
uses: actions/cache/restore@v4 | ||
with: | ||
key: reviewer-stats-${{ github.run_id }} | ||
restore-keys: | | ||
reviewer-stats | ||
path: ~/reviews | ||
- name: Build single version considering warnings as errors | ||
run: | | ||
- name: Build page with API and run linkchecker | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
make html-all-subrepos-with-errors | ||
make linkcheck-all-subrepos-with-api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters