From 47f008628fbabad1c88bb33639d5990953fe46f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Sat, 18 Nov 2023 10:36:28 +0100 Subject: [PATCH] Add test workflow --- .gitea/workflows/test.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitea/workflows/test.yml diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml new file mode 100644 index 0000000..d6138f3 --- /dev/null +++ b/.gitea/workflows/test.yml @@ -0,0 +1,13 @@ +name: Test + +on: [ push, pull_request ] + +jobs: + run-tests: + runs-on: python:3.12 + steps: + - python -m pip install poetry + - poetry install + - poetry env info + - poetry run python manage.py migrate + - poetry run pytest