-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to ros-infrastructure centralized CI (#267)
Also fix some yamllint deviations
- Loading branch information
Showing
3 changed files
with
18 additions
and
29 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,31 +1,18 @@ | ||
name: rospkg-ci | ||
--- | ||
name: Run tests | ||
|
||
on: | ||
on: # yamllint disable-line rule:truthy | ||
push: | ||
branches: [master] | ||
branches: ['master'] | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] | ||
include: | ||
- os: ubuntu-20.04 | ||
python: '3.6' | ||
name: rospkg tests | ||
runs-on: ${{matrix.os}} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{matrix.python}} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{matrix.python}} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install -U -e .[test] pytest-cov -c constraints.txt | ||
- name: Run tests | ||
run: | | ||
python -m pytest --cov test | ||
pytest: | ||
uses: ros-infrastructure/ci/.github/workflows/pytest.yaml@main | ||
with: | ||
matrix-filter: del(.matrix.os[] | select(contains("windows"))) | ||
yamllint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: yamllint -f github . |
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,2 +1,3 @@ | ||
- builder: sphinx | ||
sphinx_root_dir: doc | ||
--- | ||
- builder: sphinx | ||
sphinx_root_dir: doc |
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,8 +1,9 @@ | ||
--- | ||
Catkin-ProjectName: baz | ||
Version: 1.7.3-yaml | ||
Depends: catkin, rospack | ||
Description: baz | ||
Author: No One | ||
Author: No One | ||
Maintainer: No One <[email protected]> | ||
Homepage: http://www.ros.org | ||
|
||
|