Skip to content

Update dependency Flask to v3.0.3 (#36) #33

Update dependency Flask to v3.0.3 (#36)

Update dependency Flask to v3.0.3 (#36) #33

Workflow file for this run

name: Run tests
on:
push
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
# Unfortunately, the wsgi dependency fails with pypy versions
#python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: make install
- name: Install wsgi dependency
if: ${{ contains(github.ref, 'mod-wsgi-standalone') }}
run: make wsgi
- name: Run development server
if: ${{ !contains(github.ref, 'mod-wsgi-standalone') }}
uses: JarvusInnovations/background-action@v1
with:
run: make server &
wait-on: http://127.0.0.1:8000
log-output-if: failure
- name: Run wsgi server
if: ${{ contains(github.ref, 'mod-wsgi-standalone') }}
uses: JarvusInnovations/background-action@v1
with:
run: make wsgi-server &
wait-on: http://127.0.0.1:8000
log-output-if: failure
- name: Run Roxy and Ferris tests
run: sh ./test.sh
- name: Run Entrecote tests
run: .venv/bin/python3 entrecote.py