From 2de27b84aa6e77df54f4b0bc68089c74294881d9 Mon Sep 17 00:00:00 2001 From: rsarm Date: Thu, 30 May 2024 13:42:11 +0200 Subject: [PATCH] unit test wf --- .github/workflows/unittests.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/unittests.yml diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml new file mode 100644 index 0000000..e250f2b --- /dev/null +++ b/.github/workflows/unittests.yml @@ -0,0 +1,30 @@ +name: Unit Tests + +on: + push: + branches: + - main + pull_request: + branches: + - main + workflow_dispatch: # Allows manual triggering + +jobs: + test: + name: Run Unit Tests + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.11' + + - name: Install dependencies + run: pip install -r requirements.txt + + - name: Run Unit Tests + run: pytest . -vvv