Skip to content

Commit

Permalink
Merge pull request #13 from asedeno/git-workflow-testing
Browse files Browse the repository at this point in the history
Use github actions to automatically run tests
  • Loading branch information
ZeroCool940711 authored Jan 3, 2024
2 parents 3d98428 + f395d8c commit 539e67a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Test

on: [pull_request, push]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install pytest nose coverage cached-property
python setup.py clean build install
- name: Run test
run: nosetests --with-coverage

0 comments on commit 539e67a

Please sign in to comment.