Skip to content

Migrate Unit tests from nosetests to Pytest and enable test checks #51

Migrate Unit tests from nosetests to Pytest and enable test checks

Migrate Unit tests from nosetests to Pytest and enable test checks #51

Workflow file for this run

name: Python Tests
on:
pull_request:
branches:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt # Assumes you have a requirements.txt
pip install -r requirements_dev.txt
- name: Run tests
run: |
pytest tests/unit_tests