Skip to content

Commit

Permalink
Run yamllint checks in CI (#11)
Browse files Browse the repository at this point in the history
Longer term, it might be better to develop a test/test_yamllint.py or
something, but we're already using this approach elsewhere in the colcon
org.
  • Loading branch information
cottsay authored Nov 1, 2024
1 parent 34e097e commit 57a8364
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Run tests

on:
on: # yamllint disable-line rule:truthy
push:
branches: ['main']
pull_request:
Expand All @@ -10,3 +10,8 @@ on:
jobs:
pytest:
uses: colcon/ci/.github/workflows/pytest.yaml@main
yamllint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: yamllint -f github .
1 change: 1 addition & 0 deletions publish-python.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
artifacts:
- type: wheel
uploads:
Expand Down

0 comments on commit 57a8364

Please sign in to comment.