archive debug output

pull/1264/head
dgtlmoon 2 years ago
parent fcbda7829a
commit c950ab5219

@ -60,7 +60,6 @@ jobs:
cd changedetectionio
./run_proxy_tests.sh
cd ..
- name: Test changedetection.io container starts+runs basically without error
run: |
@ -70,6 +69,16 @@ jobs:
curl -s http://localhost:5556 |grep -q checkbox-uuid
curl -s http://localhost:5556/rss|grep -q rss-specification
- name: Archive test artifacts
if: always()
uses: actions/upload-artifact@v3
with:
name: debug-output
retention-days: 3
path: |
/tmp/*html
#export WEBDRIVER_URL=http://localhost:4444/wd/hub
#pytest tests/fetchers/test_content.py
#pytest tests/test_errorhandling.py

@ -44,6 +44,8 @@ def test_select_custom(client, live_server):
follow_redirects=True
)
# We should see something via proxy
with open('/tmp/info.html', 'wb') as f:
f.write(res.data)
assert b'HEAD' in res.data
#

Loading…
Cancel
Save