Merge pull request #906 from NebraLtd/shawaj-patch-2 #3955
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-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v5 | |
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 |