Skip to content

Add lint action

Add lint action #29

Workflow file for this run

name: "Unit Tests"
on:
pull_request:
push:
branches:
- main
jobs:
unit-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install Library
run: pip install .
- name: Install Dependencies
run: pip install -r test-requirements.txt
- name: Run Unit Tests
run: pytest -vvv tests/unit