cicd: Add testing
Some checks failed
/ deploy (push) Has been cancelled
/ test (push) Has been cancelled

This commit is contained in:
lagertonne 2024-11-11 20:49:17 +01:00
parent c2800fa9cb
commit 7ffb7f02b0

View file

@ -2,7 +2,23 @@ on:
push: push:
branches: branches:
- testing - testing
- feature/forgejo-actions
jobs: jobs:
test:
runs-on: docker
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.13'
cache: 'pip'
- name: Install needed python modules
working-directory: core
run: cd core && pip3 install -r requirements.prod.txt
- name: Run django tests
working-directory: core
run: python3 -m manage.py test
deploy: deploy:
runs-on: docker runs-on: docker
steps: steps: