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:55:46 -08:00
parent edbf7a39d3
commit 293283357f

View file

@ -6,14 +6,14 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: apt update && apt install python3-pip curl -y && pip install --break-system-packages flask hypercorn pyOpenSSL run: apt update && apt install python3-pip curl wget -y && pip install --break-system-packages flask hypercorn pyOpenSSL
- name: Run server - name: Run server
run: python3 server.py & run: python3 server.py &
- name: Test server homepage - name: Test server homepage
run: curl localhost:2009 run: curl localhost:2009
- name: Test server relay - name: Test server relay
run: curl localhost:2009/gem?gemini=gem.swee.codes run: curl localhost:2009/gem?gemini=gem.swee.codes
- name: Test server certificate - name: Test server certificate generation
run: curl localhost:2009 run: wget http://localhost:2009/gencert.zip && unzip gencert.zip
- name: Kill server - name: Kill server
run: pkill python3 run: pkill python3