From c2cc97f0f53b3848d3823009f4c7d7ebcada5748 Mon Sep 17 00:00:00 2001 From: swee Date: Sun, 19 Jan 2025 12:33:11 -0800 Subject: [PATCH] Update .forgejo/workflows/test.yml --- .forgejo/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 58cc33b..bfff8d3 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -3,12 +3,12 @@ on: [push,workflow_dispatch] jobs: flask: name: Test server with Flask Dev Mode - runs-on: alpine + runs-on: docker steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 - name: Install dependencies - run: apk update && apk add py3-flask py3-openssl curl wget + run: apt update && apt install python3-pip curl wget -y && pip install --break-system-packages flask pyOpenSSL - name: Run server run: python3 server.py > log.log & - name: Test server homepage