From 9beb60414c8599b52cfaa44388cef6130175220e Mon Sep 17 00:00:00 2001 From: jedi Date: Sat, 9 Nov 2024 05:28:27 +0100 Subject: [PATCH] add test stage in workflow --- .forgejo/workflows/deploy.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 3d3e7d5..6593bbe 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -1,6 +1,13 @@ -on: [push] +on: [ push ] jobs: test: + runs-on: docker + container: + image: docker.io/python:latest + steps: + - run: pip install -r core/requirements.dev.txt + - run: python manage.py test + deploy: runs-on: docker container: image: docker.io/serversideup/ansible:latest