mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-12-15 20:46:35 +00:00
Installation via pip (#186)
Builder for https://pypi.org/project/changedetection.io/
This commit is contained in:
19
changedetectionio/run_all_tests.sh
Executable file
19
changedetectionio/run_all_tests.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
# live_server will throw errors even with live_server_scope=function if I have the live_server setup in different functions
|
||||
# and I like to restart the server for each test (and have the test cleanup after each test)
|
||||
# merge request welcome :)
|
||||
|
||||
|
||||
# exit when any command fails
|
||||
set -e
|
||||
|
||||
# Re #65 - Ability to include a link back to the installation, in the notification.
|
||||
export BASE_URL="https://foobar.com"
|
||||
|
||||
find tests/test_*py -type f|while read test_name
|
||||
do
|
||||
echo "TEST RUNNING $test_name"
|
||||
pytest $test_name
|
||||
done
|
||||
Reference in New Issue
Block a user