Update .forgejo/workflows/test.yml
All checks were successful
Test web app / check (push) Successful in 41s
All checks were successful
Test web app / check (push) Successful in 41s
This commit is contained in:
parent
ce4dd889d4
commit
4149688554
1 changed files with 4 additions and 4 deletions
|
@ -9,13 +9,13 @@ 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 -u server.py > log.log &
|
||||
run: hypercorn --bind=127.0.0.1:1234 server:app > log.log &
|
||||
- name: Test server homepage
|
||||
run: curl localhost:2009
|
||||
run: curl localhost:1234
|
||||
- name: Test server relay
|
||||
run: curl localhost:2009/gem?gemini=gem.swee.codes
|
||||
run: curl localhost:1234/gem?gemini=gem.swee.codes
|
||||
- name: Test server certificate generation
|
||||
run: wget http://localhost:2009/gencert.zip && unzip gencert.zip
|
||||
run: wget http://localhost:1234/gencert.zip && unzip gencert.zip
|
||||
- name: Kill server
|
||||
if: always()
|
||||
run: pkill python3
|
||||
|
|
Loading…
Add table
Reference in a new issue