-
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.
Create jobs to check for warnings (#176)
- Loading branch information
1 parent
c175a33
commit bff9e63
Showing
4 changed files
with
83 additions
and
2 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,39 @@ | ||
name: "Check Page for Warnings Humble" | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- humble | ||
schedule: | ||
# Run every morning to ensure component documentation is up to date on deployment | ||
- cron: '23 5 * * *' | ||
|
||
jobs: | ||
build-halt-on-warnings: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: humble | ||
fetch-depth: 0 | ||
- uses: actions/setup-python@v4 | ||
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: Build single version considering warnings as errors | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
make html-all-subrepos-with-errors |
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,39 @@ | ||
name: "Check Page for Warnings Iron" | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- iron | ||
schedule: | ||
# Run every morning to ensure component documentation is up to date on deployment | ||
- cron: '23 5 * * *' | ||
|
||
jobs: | ||
build-halt-on-warnings: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: iron | ||
fetch-depth: 0 | ||
- uses: actions/setup-python@v4 | ||
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: Build single version considering warnings as errors | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
make html-all-subrepos-with-errors |
2 changes: 1 addition & 1 deletion
2
.github/workflows/sphinx-check-warnings.yml → ...rkflows/sphinx-check-warnings-rolling.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: "Check Page for Warnings" | ||
name: "Check Page for Warnings Rolling" | ||
on: | ||
workflow_dispatch: | ||
push: | ||
|
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