Skip to content

Commit

Permalink
Try setting up Github actions for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Dec 28, 2020
1 parent 8637da5 commit 7ca7e76
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: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.5, 3.6, 3.7, 3.8, 3.9, 2.7 ]
steps:
- uses: actions/checkout@v2

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

- name: Install dependencies
run: |
pip install pytest
- name: Run tests
run: pytest -v

0 comments on commit 7ca7e76

Please sign in to comment.