Update .forgejo/workflows/test.yml
All checks were successful
Test web app / check (push) Successful in 32s
All checks were successful
Test web app / check (push) Successful in 32s
This commit is contained in:
parent
48ffb1b99b
commit
edbf7a39d3
1 changed files with 11 additions and 1 deletions
|
@ -6,4 +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 -y && pip install --break-system-packages flask hypercorn pyOpenSSL
|
run: apt update && apt install python3-pip curl -y && pip install --break-system-packages flask hypercorn pyOpenSSL
|
||||||
|
- name: Run server
|
||||||
|
run: python3 server.py &
|
||||||
|
- name: Test server homepage
|
||||||
|
run: curl localhost:2009
|
||||||
|
- name: Test server relay
|
||||||
|
run: curl localhost:2009/gem?gemini=gem.swee.codes
|
||||||
|
- name: Test server certificate
|
||||||
|
run: curl localhost:2009
|
||||||
|
- name: Kill server
|
||||||
|
run: pkill python3
|
Loading…
Add table
Reference in a new issue