Update .forgejo/workflows/test.yml
Some checks failed
Test web app / Test server with Flask Dev Mode (push) Failing after 31s
Test web app / Test server with Hypercorn (ASGI) (push) Successful in 1m34s
Test web app / Test server with Gunicorn (WSGI) (push) Successful in 36s

This commit is contained in:
Nova Cat 2025-01-19 12:29:55 -08:00
parent 40173857cd
commit 25b6af7e4a

View file

@ -3,12 +3,12 @@ on: [push,workflow_dispatch]
jobs: jobs:
flask: flask:
name: Test server with Flask Dev Mode name: Test server with Flask Dev Mode
runs-on: docker runs-on: alpine
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-python@v5 - uses: actions/setup-python@v5
- name: Install dependencies - name: Install dependencies
run: apt update && apt install python3-pip curl wget -y && pip install --break-system-packages flask pyOpenSSL run: apk update && apk add py3-flask py3-openssl curl wget
- name: Run server - name: Run server
run: python3 server.py > log.log & run: python3 server.py > log.log &
- name: Test server homepage - name: Test server homepage