Skip to content

Commit d52c4a4

Browse files
try again
1 parent d97cec1 commit d52c4a4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- uses: actions/checkout@v2
2222

2323
- name: Gather notebooks
24+
id: get_nbs
2425
run: |
2526
# Compare this commit/PR to 'main' and list changed .ipynb files
2627
git fetch --depth=1 origin main
@@ -67,17 +68,17 @@ jobs:
6768

6869
echo "notebooks=$NB_JSON" >> $GITHUB_OUTPUT
6970

70-
- name: Gather notebooks
71+
- name: Debug
7172
run: |
72-
echo "$GITHUB_OUTPUT"
73+
echo "${{ steps.get_nbs.outputs.notebooks }}"
7374
7475
7576
7677
# ---------------------------------------------------------
7778
# 2) Test each changed notebook in parallel
7879
# ---------------------------------------------------------
7980
test_notebooks:
80-
if: ${{ fromJson(needs.gather_notebooks.outputs.notebooks) }}
81+
if: ${{ fromJson(needs.gather_notebooks.outputs.notebooks).length > 0 }}
8182
needs: gather_notebooks
8283
runs-on: ubuntu-latest
8384
strategy:

0 commit comments

Comments
 (0)