pytests added

This commit is contained in:
pacnpal
2024-12-10 13:30:16 -05:00
parent 7092c203f9
commit 5047dc8093
3 changed files with 84 additions and 0 deletions

26
.github/workflows/python-tests.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Python package
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Run tests
run: |
pytest tests