From 8fe65c9a77cf036563b4b8965f8629cdb70350b2 Mon Sep 17 00:00:00 2001 From: Andrea Date: Wed, 3 Sep 2025 11:49:33 +0200 Subject: [PATCH] chore: add tests workflow --- .gitea/workflows/run-tests.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitea/workflows/run-tests.yaml diff --git a/.gitea/workflows/run-tests.yaml b/.gitea/workflows/run-tests.yaml new file mode 100644 index 0000000..fc3a020 --- /dev/null +++ b/.gitea/workflows/run-tests.yaml @@ -0,0 +1,23 @@ +name: Run tests +on: + push: + +jobs: + test-project: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v5 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Run tests + run: | + pip install pytest + pytest +