Skip to content

Commit

Permalink
Add Github Action for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jardon committed Aug 17, 2024
1 parent b885091 commit beb57f7
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Run Pytest
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest psutil
- name: Run Pytest
run: |
pytest -v

0 comments on commit beb57f7

Please sign in to comment.