Skip to content

Commit

Permalink
Add GitHub workflow to run pytest when a branch is pushed (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
keinstn authored Nov 21, 2024
1 parent 0df4d52 commit e93f118
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Unit tests

on: [push]

jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install deps
run: |
python -m pip install -U pip
pip install poetry
poetry install
- name: Run python tests
run: |
poetry run pytest

0 comments on commit e93f118

Please sign in to comment.