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 7f50ec7
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
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 setuptools
run: |
pip install --upgrade setuptools
- name: Install wheel
run: |
pip install wheel
- name: Install nose
run: |
pip install nose
- name: Install package
run: |
python setup.py install
- name: Run tests
run: nosetests --exe

0 comments on commit 7f50ec7

Please sign in to comment.