Skip to content

Commit 3d18279

Browse files
authored
Merge branch 'next' into github-actions-publish
2 parents 3107fe4 + b7f8e47 commit 3d18279

2 files changed

Lines changed: 34 additions & 2 deletions

File tree

.github/workflows/python-test.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
4+
name: Test Open XC Pyton
5+
6+
on: [ pull_request ]
7+
8+
jobs:
9+
build:
10+
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: [3.6.7]
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v2
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: Install dependencies
23+
run: |
24+
sudo apt-get install python-bluetooth -qq -y
25+
python -m pip install --upgrade pip
26+
python -m pip install pytest pyserial==3.1.1 coveralls
27+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
28+
29+
- name: Test
30+
run: |
31+
python setup.py test
32+

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ OpenXC for Python
1111
:Source: http://github.com/openxc/openxc-python/
1212
:Keywords: vehicle, openxc, python
1313

14-
.. image:: https://travis-ci.org/openxc/openxc-python.svg?branch=master
15-
:target: https://travis-ci.org/openxc/openxc-python
14+
.. image:: https://github.com/openxc/openxc-python/workflows/Test%20Open%20XC%20Pyton/badge.svg
15+
:target: https://github.com/openxc/openxc-python/actions?query=workflow%3A%22Test+Open+XC+Pyton%22
1616

1717
.. image:: https://coveralls.io/repos/openxc/openxc-python/badge.png?branch=master
1818
:target: https://coveralls.io/r/openxc/openxc-python?branch=master

0 commit comments

Comments
 (0)