Skip to content

Commit

Permalink
Switch to unified ros-infrastructure CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cottsay committed Mar 22, 2024
1 parent 9f12f7e commit 5252a70
Showing 1 changed file with 12 additions and 32 deletions.
44 changes: 12 additions & 32 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,38 +1,18 @@
name: bloom-ci
---
name: Run tests

on:
on: # yamllint disable-line rule:truthy
push:
branches: ['master']
pull_request:
branches: ['*']
schedule:
- cron: '40 7 * * 0'

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python: [3.7, 3.8, 3.9]
include:
- os: ubuntu-18.04
python: 2.7
- os: ubuntu-18.04
python: 3.6
name: bloom tests
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{matrix.python}}
uses: actions/setup-python@v1
with:
python-version: ${{matrix.python}}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
python -m pip install PyYAML argparse empy rosdep vcstools catkin-pkg python-dateutil packaging
python -m pip install nose coverage pep8
- name: Run tests
run: |
BLOOM_VERBOSE=1 python setup.py nosetests -s --tests test
pytest:
uses: ros-infrastructure/ci/.github/workflows/pytest.yaml@main
with:
matrix-filter: del(.matrix.os[] | select(contains("windows"))) | del(.matrix.python[] | select(contains("3.10") or contains("3.11") or contains("3.12")))

Check failure on line 13 in .github/workflows/ci.yaml

View workflow job for this annotation

GitHub Actions / yamllint

13:81 [line-length] line too long (159 > 80 characters)
yamllint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: yamllint -f github .

0 comments on commit 5252a70

Please sign in to comment.