Skip to content

Commit

Permalink
Add github workflows for running tests on multiple python versions (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
saikonen authored Feb 12, 2022
1 parent f8b6d55 commit 014320b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: [3.7, 3.8, "3.10"]

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 Python ${{ matrix.python-version }} dependencies
run: |
python -m pip install --upgrade pip
pip install .
- name: Run pytest
run: pytest

0 comments on commit 014320b

Please sign in to comment.