add github workflow

This commit is contained in:
Wes Barnett 2021-02-14 16:49:18 -05:00
parent e5121d4e28
commit cfd636401e
No known key found for this signature in database
GPG key ID: 1070BCC98C18BD66

22
.github/workflows/tests.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: Run Python Tests
on:
push:
branches:
- python
pull_request:
branches:
- python
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install dependencies
run: python -m pip install --upgrade pip pytest
- name: Run tests with pytest
run: pytest tests.py