Skip to content

Commit

Permalink
Merge pull request #12 from NebraLtd/add-tests
Browse files Browse the repository at this point in the history
Adds unit tests
  • Loading branch information
vpetersson authored Sep 16, 2021
2 parents fe39d43 + a8b8926 commit feaad1b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Run unit tests

on:
push:

jobs:
unit-tests:
name: Run unit tests
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master

- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7

- name: Install requirements
run: |
pip install -r requirements.txt
- name: Install test requirements
run: |
pip install -r test-requirements.txt
- name: Run tests
run: |
pytest

0 comments on commit feaad1b

Please sign in to comment.