From d61459c011c38a55ab4743dc9794f9f485aef0a4 Mon Sep 17 00:00:00 2001 From: Patrick762 Date: Fri, 25 Oct 2024 16:23:21 +0200 Subject: [PATCH] Create test.yaml --- .github/workflows/test.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..87f7f4a --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,20 @@ +name: Unittests +on: + push: + pull_request: + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + test: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - name: Setup Python + uses: actions/setup-python@v5.3.0 + with: + python-version: 3 + - name: Run unittests + run: python3 -m unittest discover -s tests -p "*_test.py"