Skip to content

Commit

Permalink
added unittest workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmpp committed Feb 25, 2024
1 parent 5846f1d commit 3c9795a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test_on_push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Run unit tests

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
- name: Run tests
run: |
python -m unittest discover tests -v

0 comments on commit 3c9795a

Please sign in to comment.