Skip to content

Add github action for pytest #1

Add github action for pytest

Add github action for pytest #1

Workflow file for this run

name: Python Tests
on: [push, pull_request]
jobs:
pytest:
runs-on: ubuntu-latest
defaults:
run:
working-directory: .
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
- name: Test with pytest
run: |
python -m pytest