This commit is contained in:
parent
293283357f
commit
0a8f177362
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
if: always()
|
||||
run: pkill python3
|
||||
- name: Show logs
|
||||
if: always()
|
||||
run: cat log.log
|
Loading…
Add table
Reference in a new issue