Skip to content

Commit 0a7d9ea

Browse files
one more tweak
1 parent faac8ec commit 0a7d9ea

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/nightly-test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Tests - Nightly Run
22

33
on:
4+
pull_request:
5+
branches: [ main ]
46
schedule:
57
- cron: "0 3 * * *" # 3 AM UTC nightly
68
workflow_dispatch:
@@ -21,13 +23,13 @@ jobs:
2123

2224
- id: get_nbs
2325
run: |
24-
# 1) Read ignore patterns from .github/notebooks-ignore.txt
26+
# 1) Read ignore patterns from .github/ignore-notebooks.txt
2527
IGNORE_LIST=()
2628
while IFS= read -r skip_nb || [ -n "$skip_nb" ]; do
2729
# Skip empty lines or comment lines
2830
[[ -z "$skip_nb" || "$skip_nb" =~ ^# ]] && continue
2931
IGNORE_LIST+=("$skip_nb")
30-
done < .github/notebooks-ignore.txt
32+
done < .github/ignore-notebooks.txt
3133
3234
# 2) Find all .ipynb in python-recipes (or your path)
3335
NBS=$(find python-recipes -name '*.ipynb')

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626
git fetch --depth=1 origin main
2727
CHANGED_NOTEBOOKS=$(git diff --name-only origin/main | grep '\.ipynb$' || true)
2828
29-
# 1) Read ignore patterns from .github/notebooks-ignore.txt
29+
# 1) Read ignore patterns from .github/ignore-notebooks.txt
3030
IGNORE_LIST=()
3131
while IFS= read -r skip_nb || [ -n "$skip_nb" ]; do
3232
# Skip empty lines or comment lines
3333
[[ -z "$skip_nb" || "$skip_nb" =~ ^# ]] && continue
3434
IGNORE_LIST+=("$skip_nb")
35-
done < .github/notebooks-ignore.txt
35+
done < .github/ignore-notebooks.txt
3636

3737
# 2) Filter out notebooks in CHANGED_NOTEBOOKS that match ignore patterns
3838
FILTERED_NBS=()

0 commit comments

Comments
 (0)