Add line to empty query.py in CI copy_debug_sql (#6417)
* Add line to empty query.py in CI copy_debug_sql * ooooooop * remove test file
This commit is contained in:
Родитель
6c87dfb547
Коммит
a270272b38
|
@ -187,6 +187,14 @@ jobs:
|
|||
command: |
|
||||
mkdir -p /tmp/debug_artifacts
|
||||
cp -r sql /tmp/debug_artifacts/sql
|
||||
|
||||
# add line to empty query.py so they get stored
|
||||
shopt -s globstar
|
||||
for file in /tmp/debug_artifacts/sql/**/query.py; do
|
||||
if [ ! -s "$file" ]; then
|
||||
echo "# empty file; line inserted by CI" >> "$file"
|
||||
fi
|
||||
done
|
||||
when: on_fail
|
||||
- ©_debug_tests
|
||||
run:
|
||||
|
|
Загрузка…
Ссылка в новой задаче