Skip to content

feat: Add Github action for pytest #2

feat: Add Github action for pytest

feat: Add Github action for pytest #2

Workflow file for this run

name: Run pytest
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, 3.11, 3.12]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run pytest
run: pytest