Skip to content

Commit

Permalink
add github action to automate tests (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdavham authored Sep 11, 2024
1 parent 2c17f1f commit 1cb4958
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test Python

on: [push, pull_request]

jobs:
test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install pytest
- name: Test with pytest
run: |
pytest

0 comments on commit 1cb4958

Please sign in to comment.