Skip to content

Commit

Permalink
Add GitHub Actions workflow to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenMaude committed Jul 6, 2020
1 parent 19f26b8 commit 6e8932b
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI
on:
push:
branches:
- master
pull_request:

jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.6]
# python: [3.5, 3.6, 3.7, 3.8]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}

- name: Install extra packages for tests
run: |
pip install wheel nose lxml
- name: Install package
run: |
python setup.py install
- name: Run tests
run: nosetests --exe

0 comments on commit 6e8932b

Please sign in to comment.