From efa040d46cb8f5106fae9abfe9e338b806fb2855 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20M=C3=BCller?= <57417799+codePascal@users.noreply.github.com> Date: Sun, 9 Nov 2025 12:06:50 +0100 Subject: [PATCH] Create workflow test_pytest.yml --- .github/workflows/test_pytest.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/test_pytest.yml diff --git a/.github/workflows/test_pytest.yml b/.github/workflows/test_pytest.yml new file mode 100644 index 0000000..1ac6023 --- /dev/null +++ b/.github/workflows/test_pytest.yml @@ -0,0 +1,29 @@ +# This workflow will install Python dependencies, run tests with a single version of Python +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python + +name: Test Python Package + +on: ["push"] + +permissions: + contents: read + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up Python 3.10 + uses: actions/setup-python@v3 + with: + python-version: "3.11" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + pip install pytest + - name: Test with pytest + run: | + pytest