From 293283357f840268c270a4d1120f1f31196504e5 Mon Sep 17 00:00:00 2001 From: swee Date: Sat, 18 Jan 2025 18:55:46 -0800 Subject: [PATCH] Update .forgejo/workflows/test.yml --- .forgejo/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 212c534..f8c4c12 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -6,14 +6,14 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install dependencies - run: apt update && apt install python3-pip curl -y && pip install --break-system-packages flask hypercorn pyOpenSSL + 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 & - 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: Test server certificate generation + run: wget http://localhost:2009/gencert.zip && unzip gencert.zip - name: Kill server run: pkill python3 \ No newline at end of file