We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 002d6b9 commit 26995beCopy full SHA for 26995be
1 file changed
run.sh
@@ -2,7 +2,7 @@
2
DEBUG=${DEBUG:-0}
3
ALLURE=${ALLURE:-1}
4
5
-rm -rf allure-results
+rm -rf allure-results allure-report
6
7
if [ "$DEBUG" -eq 1 ]; then
8
export PWDEBUG=1
@@ -12,5 +12,7 @@ python -m pytest --alluredir=allure-results "$@"
12
13
if [ "$ALLURE" -eq 1 ]; then
14
allure generate allure-results -o allure-report --clean
15
- allure open allure-report
+ if [ -z "$CI" ]; then
16
+ allure open allure-report
17
+ fi
18
fi
0 commit comments