Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to ros-infrastructure centralized CI #363

Merged
merged 1 commit into from
Mar 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 13 additions & 26 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,18 @@
name: catkin_pkg-ci
---
name: Run tests

on:
on: # yamllint disable-line rule:truthy
push:
branches: [master]
branches: ['master']
pull_request:

jobs:
build:
strategy:
matrix:
os: [ubuntu-22.04, macos-latest]
python: ['3.7', '3.8', '3.9', '3.10']
include:
- os: ubuntu-20.04
python: '3.6'
name: catkin_pkg tests
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{matrix.python}}
uses: actions/setup-python@v4
with:
python-version: ${{matrix.python}}
- name: Install dependencies
run: |
python -m pip install -U -e .[test]
- name: Run tests
run: |
python -m pytest -s 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 .