Skip to content

Commit

Permalink
Add GitHub Actions CI workflow (#88)
Browse files Browse the repository at this point in the history
This workflow is based on the one used in the ros-infrastructure org.
  • Loading branch information
cottsay authored Mar 13, 2023
1 parent 815073e commit 9442773
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 13 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: osrf_pycommon-ci

on:
push:
branches: [master]
pull_request:

jobs:
build:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python: ['3.7', '3.8', '3.9', '3.10']
include:
- os: ubuntu-18.04
python: '3.6'
name: osrf_pycommon 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] pytest-cov
- name: Run tests
run: |
python -m pytest tests --cov
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

0 comments on commit 9442773

Please sign in to comment.