Adding pytest and tests GitHubAction

This commit is contained in:
YuvalG
2020-10-16 22:42:54 +03:00
parent 99c18e919d
commit 0743b1bef7
5 changed files with 209 additions and 0 deletions

21
.github/workflows/tests.yaml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Run tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -r dev-requirements.txt
- name: Test
run: make test