Skip to content

Commit

Permalink
feat: Add Github action for pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
arzkar committed Jul 5, 2023
1 parent d3b0bda commit a7e977e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/pytests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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

0 comments on commit a7e977e

Please sign in to comment.