-
Notifications
You must be signed in to change notification settings - Fork 40
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 (cherry picked from commit 67032d1) # Conflicts: # .github/workflows/sphinx-check-warnings.yml # README.md
- Loading branch information
1 parent
9ff1219
commit 1e1b2b3
Showing
5 changed files
with
67 additions
and
5 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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: "Check Page for Broken Links - PR" | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
|
||
jobs: | ||
check-links: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
cache: 'pip' | ||
- name: Install Python dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install --upgrade --requirement requirements.txt | ||
shell: bash | ||
- name: Install generate_parameter_library | ||
run: | | ||
cd | ||
git clone https://github.com/PickNikRobotics/generate_parameter_library.git | ||
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 page with API and run linkchecker | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
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
9 changes: 7 additions & 2 deletions
9
.../workflows/sphinx-check-warnings-iron.yml → .github/workflows/sphinx-check-warnings.yml
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