Run basic mod_wsgi request test.
@@ -28,3 +28,9 @@ jobs:
run: python -m pip install --upgrade tox tox-gh-actions
- name: "Run tox for ${{ matrix.python-version }}"
run: "python -m tox -vvv"
+ - name: "Start up mod_wsgi-express"
+ run: "mod_wsgi-express start-server tests/hello.wsgi --port 8080 --log-to-terminal --pid-file httpd.pid &"
+ - name: "Wait for server to start"
+ run: "while [ ! -f httpd.pid ]; do sleep 1; done; sleep 2"
+ - name: "Trigger single WSGI request"
+ run: "curl --verbose --fail --show-error http://localhost:8000"
