Skip to content

Commit

Permalink
Switch from Travis -> Github actions. (ros2#948)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette committed Dec 15, 2020
1 parent e86c950 commit dab7090
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 18 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8

- name: Install dependencies with pip
run: |
pip install doc8 sphinx
pip install git+https://github.com/osrf/sphinx-tabs
- run: make html 2> stderr.log
- run: cat stderr.log
- run: doc8 --ignore D001 --ignore-path build --ignore-path source/Tutorials/Actions
# ignore D000 in action tutorials to allow for :linenos:
- run: doc8 --ignore D000 --ignore D001 --ignore-path build source/Tutorials/Actions
# fail the build for any stderr output
- run: if [ -s "stderr.log" ]; then false; fi
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

0 comments on commit dab7090

Please sign in to comment.