File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -189,15 +189,14 @@ jobs:
189189 - run :
190190 name : Check JupyterLab build artifacts
191191 command : |
192- echo "Checking for uncommitted changes in plotly/labextension/..."
193- git diff --exit-code plotly/labextension-tmp/ plotly/labextension/
194- if [ $? -ne 0 ]; then
195- echo "Uncommitted changes found in plotly/labextension/"
196- echo "Please run 'git diff' to see the changes."
197- echo "If you are sure you want to commit these changes, run 'git add plotly/labextension/' and 'git commit -m \"Update labextension\"'."
192+ diff -qr plotly/labextension-tmp/ plotly/labextension/ | grep -v '^Only in' > build_diff.txt
193+
194+ if [ -s build_diff.txt ]; then
195+ echo "Build artifacts differ from committed files:"
196+ cat build_diff.txt
198197 exit 1
199198 else
200- echo "No uncommitted changes found in plotly/labextension/ "
199+ echo "Build artifacts are identical to committed files. "
201200 fi
202201
203202 # Percy
@@ -441,6 +440,10 @@ workflows:
441440 - full_build
442441
443442 check_js_build :
443+ filters :
444+ paths :
445+ only :
446+ - js/**
444447 jobs :
445448 - check-js-build
446449
You can’t perform that action at this time.
0 commit comments