From 41496885542e1c0d0bb256046869ca5bdc300283 Mon Sep 17 00:00:00 2001 From: swee Date: Sat, 18 Jan 2025 22:13:44 -0800 Subject: [PATCH] Update .forgejo/workflows/test.yml --- .forgejo/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index fbee1ec..95c1001 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -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