diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml new file mode 100644 index 0000000..4976a9f --- /dev/null +++ b/.forgejo/workflows/test.yml @@ -0,0 +1,26 @@ +name: Test + +on: + push: + branches: + - master + - testing + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + container: + image: python:3.12-slim + + steps: + - uses: actions/checkout@v4 + + - name: Install dependencies + run: pip install --no-cache-dir -r requirements.txt + + - name: Django system check + run: python manage.py check + + - name: Run tests + run: python manage.py test