-
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.
* Create usable workflow for dependencies * Checkout repository before git config --local * Single job only * Use checkout * Try composite action * Optionally checkout PR instead of master branch * Update comment * Add reusable workflow for single version * Fix repository for checkout action * Fix repository for checkout action * Fix repository+ref for checkout action * try to fix source of action * Add fetch-depth again * Use correct head info * Halt on errors * use master branch ref Co-authored-by: Christoph Fröhlich <[email protected]> --------- Co-authored-by: Bence Magyar <[email protected]> (cherry picked from commit e2a04ea) # Conflicts: # .github/workflows/reusable-sphinx-check-single-version.yml # .github/workflows/sphinx-check-links.yml # .github/workflows/sphinx-check-warnings.yml # Makefile # make_help_scripts/deploy_defines
- Loading branch information
1 parent
23fee77
commit 0562dd8
Showing
7 changed files
with
73 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,27 @@ | ||
name: "Install Dependencies" | ||
description: "Python dependencies" | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
repository: ros-controls/control.ros.org | ||
ref: master | ||
fetch-depth: 0 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,14 +7,22 @@ on: | |
schedule: | ||
# Run every morning to ensure component documentation is up to date on deployment | ||
- cron: '23 5 * * *' | ||
<<<<<<< HEAD | ||
|
||
jobs: | ||
build-halt-on-warnings: | ||
======= | ||
pull_request: | ||
|
||
jobs: | ||
build-halt-on-errors: | ||
>>>>>>> e2a04ea (Create usable workflows (#125)) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
<<<<<<< HEAD | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
|
@@ -32,6 +40,11 @@ jobs: | |
python -m pip install . | ||
shell: bash | ||
- name: Build single version considering warnings as errors | ||
======= | ||
- name: Install dependencies | ||
uses: ./.github/actions/install-dependencies | ||
- name: Build multiversion considering warnings as errors | ||
>>>>>>> e2a04ea (Create usable workflows (#125)) | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
|
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