cicd: Add testing
Some checks failed
/ test (push) Failing after 34s
/ deploy (push) Successful in 3m33s

This commit is contained in:
lagertonne 2024-11-11 20:49:17 +01:00
parent 6e9b4019a2
commit 9f65113c3a

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: