Update .forgejo/workflows/test.yml
This commit is contained in:
parent
25b6af7e4a
commit
c2cc97f0f5
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue