automated testing

This commit is contained in:
Hayden 2021-01-10 11:21:06 -09:00
commit 4562a8ca10

27
.github/workflows/pytest.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Project Tests
on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
- dev
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
- name: Test with pytest
run: pytest -vv