From 2923e6cdab570025c810fad4c37e574619e6f956 Mon Sep 17 00:00:00 2001 From: Christian Meter Date: Thu, 22 Aug 2024 12:56:54 +0200 Subject: [PATCH] Add github actions ci --- .github/workflows/test.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..c1e7c23 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,21 @@ +name: Django +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install poetry + run: pipx install poetry + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: 3.12 + cache: "poetry" + - name: Install dependencies + run: | + pip install poetry + poetry install + - name: Test + run: poetry run python manage.py test