From 53a1c271c6761b9b4b26c31ce22625303efefb67 Mon Sep 17 00:00:00 2001 From: Alexander Minges Date: Fri, 21 Mar 2025 15:33:27 +0100 Subject: [PATCH] Add test workflow --- .forgejo/workflows/run_tests.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .forgejo/workflows/run_tests.yaml diff --git a/.forgejo/workflows/run_tests.yaml b/.forgejo/workflows/run_tests.yaml new file mode 100644 index 0000000..1c33af6 --- /dev/null +++ b/.forgejo/workflows/run_tests.yaml @@ -0,0 +1,26 @@ +name: Test pipeline + +on: [push] +jobs: + test: + runs-on: docker + container: + image: python:3 + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.13" + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + pip install -r requirements-dev.txt + + - name: Run tests + run: | + pytest