Skip to content

refactor tests and add CI testing #4

refactor tests and add CI testing

refactor tests and add CI testing #4

Workflow file for this run

name: Run Tests
on:
push:
branches:
- master
pull_request:
jobs:
test:
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install .
pip install pytest
- name: Run tests
run: pytest