From 69ec9c59fe397871e01825dec646ae6c253b8cd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=BCrmeyer?= <25571323+fschuermeyer@users.noreply.github.com> Date: Sun, 16 Jun 2024 22:31:13 +0200 Subject: [PATCH] adding workflow --- .github/workflows/test_pr.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/test_pr.yml diff --git a/.github/workflows/test_pr.yml b/.github/workflows/test_pr.yml new file mode 100644 index 0000000..04bb3d9 --- /dev/null +++ b/.github/workflows/test_pr.yml @@ -0,0 +1,22 @@ +name: Python Unit Test on PR + +on: + pull_request: + +jobs: + tests: + name: Python Unit Test + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Set up Python 3.11 + uses: actions/setup-python@v2 + with: + python-version: 3.11 + + - name: Unit Test + run: | + python -m unittest discover \ No newline at end of file