Add github action for pytest

This commit is contained in:
Anas Dorbani 2024-04-03 02:56:58 +00:00
parent 9fc5ebbf73
commit 6361b30767

17
.github/workflows/run-tests.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Run Tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Run tests
run: |
make build
poetry run pytest ./tests