Update .forgejo/workflows/test.yml
Some checks failed
Test web app / check (push) Failing after 33s

This commit is contained in:
Nova Cat 2025-01-18 18:59:02 -08:00
parent 293283357f
commit 0a8f177362

View file

@ -8,7 +8,7 @@ jobs:
- name: Install dependencies
run: apt update && apt install python3-pip curl wget -y && pip install --break-system-packages flask hypercorn pyOpenSSL
- name: Run server
run: python3 server.py &
run: python3 -u server.py > log.log &
- name: Test server homepage
run: curl localhost:2009
- name: Test server relay
@ -16,4 +16,8 @@ jobs:
- name: Test server certificate generation
run: wget http://localhost:2009/gencert.zip && unzip gencert.zip
- name: Kill server
run: pkill python3
if: always()
run: pkill python3
- name: Show logs
if: always()
run: cat log.log