Skip to content

removing config.ini (this should be alto created) #125

removing config.ini (this should be alto created)

removing config.ini (this should be alto created) #125

Workflow file for this run

name: Webserver Testing
on: [push]
jobs:
build-job:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Load Webserver
run: |
python photofolder.py &
- name: Test Webserver
run: |
# curl -ILfkSs http://localhost:23276/ || exit 1
curl -ILfSs http://127.0.0.1:23276/ > /dev/null || \
curl -ILfkSs http://localhost:23276/config > /dev/null || \
curl -ILfSs http://localhost:23276/blacklist > /dev/null || \
curl -ILfSs http://localhost:23276/whitelist > /dev/null || exit 1
cat logs/demo/debug.log
echo "---------------------"
cat logs/demo/error.log