Add GitHub Actions workflow for pytest suite

This commit is contained in:
Alexa Amundson
2025-11-10 23:28:21 -06:00
parent c95ace9d3b
commit ea34c6cf6d
2 changed files with 38 additions and 0 deletions

27
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: CI
on:
push:
branches: [ main, master ]
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Check out repository
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
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run tests
run: pytest