Skip to content

Refactor

Refactor #20

Workflow file for this run

name: Run Test
on:
push:
branches: [ "main" ]
paths:
- '**.py'
pull_request:
branches: [ "main" ]
paths:
- '**.py'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python -m pip install .
- name: Test with pytest
run: |
pytest . -v