archive debug output
This commit is contained in:
11
.github/workflows/test-only.yml
vendored
11
.github/workflows/test-only.yml
vendored
@@ -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
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user