Merge pull request #889 from NebraLtd/master #3894
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Unit Tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Run PyTest | |
run: | | |
pip install -r test-requirements.txt | |
pip install -r requirements.txt | |
export PYTHONPATH=`pwd` | |
pytest . --cov=. --cov-fail-under=90 |