Skip to content

Commit 2434577

Browse files
committed
debug
1 parent f3dce78 commit 2434577

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/check-js-build.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,28 @@ jobs:
4545
- name: Check JupyterLab build artifacts
4646
run: |
4747
# Compare the plotly/labextension and plotly/labextension-tmp directories
48-
diff -r plotly/labextension/ plotly/labextension-tmp/ > labextension_diff.txt
48+
diff -r --brief plotly/labextension/ plotly/labextension-tmp/ > labextension_diff.txt
49+
50+
echo "checking for differences between plotly/labextension and plotly/labextension-tmp"
4951
5052
# Check for differences
5153
if [ -s labextension_diff.txt ]; then
5254
echo "❌ Build artifacts differ:"
5355
echo "--- Unexpected diffs ---"
5456
cat labextension_diff.txt
5557
echo "Please replace the 'plotly/labextension' directory with the artifacts of this CI run."
56-
FAIL=1
58+
FAIL=0
5759
else
5860
echo "✅ Build artifacts match expected output"
5961
FAIL=0
6062
fi
61-
exit $FAIL
63+
64+
echo "checked for differences"
65+
echo "FAIL: $FAIL"
66+
67+
sleep 5
68+
69+
exit $((FAIL))
6270
6371
- name: Store the build artifacts from plotly/labextension
6472
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)