Compare commits

...

7 Commits
1.12 ... cicd

Author SHA1 Message Date
cfa4abd9ac .gitea/workflows/UnitTests.yaml aktualisiert
Some checks failed
Gitea Actions Demo / Run Tests (push) Failing after 20s
2025-10-10 16:41:45 +02:00
30cc665f05 .gitea/workflows/UnitTests.yaml aktualisiert
Some checks failed
Gitea Actions Demo / Run Tests (push) Failing after 19s
2025-10-10 16:40:17 +02:00
80690a9c8c .gitea/workflows/UnitTests.yaml aktualisiert
Some checks failed
Gitea Actions Demo / Run Tests (push) Failing after 20s
2025-10-10 15:49:32 +02:00
29f51663a5 .gitea/workflows/UnitTests.yaml aktualisiert
Some checks failed
Gitea Actions Demo / Run Tests (push) Failing after 29s
2025-10-10 15:45:04 +02:00
8913e63997 .gitea/workflows/UnitTests.yaml aktualisiert
Some checks failed
Gitea Actions Demo / Run Tests (push) Failing after 21s
2025-10-10 15:34:31 +02:00
46956e971c .gitea/workflows/UnitTests.yaml aktualisiert
Some checks failed
Gitea Actions Demo / Run Tests (push) Failing after 9s
2025-10-10 15:19:35 +02:00
4252fadc8d .gitea/workflows/UnitTests.yaml hinzugefügt
Some checks are pending
Gitea Actions Demo / Run Tests (push) Waiting to run
2025-10-10 15:18:18 +02:00

View File

@@ -0,0 +1,36 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Run Tests:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
- name: Install dependencies if requirements.txt exists
run: |
python3 -m venv venv
source venv/bin/activate
if [ -f requirements.txt ]; then
pip install --no-deps -r requirements.txt
else
echo "No requirements.txt found, skipping installation."
fi
- name: Read .env from server and write to current directory
run: |
cat /home/jhaeder/.env > .env
- name: Run unit tests
run: |
source venv/bin/activate
python3 manage.py test