diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 2366d04..bfff8d3 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -16,7 +16,7 @@ jobs: - name: Test server relay run: curl 127.0.0.1:2009/gem?gemini=gem.swee.codes - name: Test server certificate generation - run: wget 127.0.0.1:2009/gencert.zip && unzip gencert.zip + run: wget http://127.0.0.1:2009/gencert.zip && unzip gencert.zip - name: Kill server if: always() run: pkill python3 @@ -54,11 +54,13 @@ jobs: - name: Install dependencies run: apt update && apt install python3-pip curl wget -y && pip install --break-system-packages flask gunicorn pyOpenSSL - name: Run server - run: gunicorn -w 2 -b 127.0.0.1:1234 'server:app' > log.log & + run: gunicorn -w 4 -b 127.0.0.1:1234 'server:app' > log.log & - name: Test server homepage run: curl 127.0.0.1:1234 - - + - name: Test server relay + run: curl 127.0.0.1:1234/gem?gemini=gem.swee.codes + - name: Test server certificate generation + run: wget http://127.0.0.1:1234/gencert.zip && unzip gencert.zip - name: Kill server if: always() run: pkill gunicorn