Skip to content

Commit 92e63d9

Browse files
committed
hotfix
1 parent 0d1a0b1 commit 92e63d9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/notebook-test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ jobs:
77
runs-on: ubuntu-latest
88
env:
99
# Conditionally set thread limits only for Gitea runners to prevent resource exhaustion.
10-
# These are set to '1' if on Gitea, otherwise they are empty and have no effect.
11-
OMP_NUM_THREADS: ${{ env.GITEA_ACTIONS == 'true' && '1' || '' }}
12-
MKL_NUM_THREADS: ${{ env.GITEA_ACTIONS == 'true' && '1' || '' }}
13-
OPENBLAS_NUM_THREADS: ${{ env.GITEA_ACTIONS == 'true' && '1' || '' }}
14-
VECLIB_MAXIMUM_THREADS: ${{ env.GITEA_ACTIONS == 'true' && '1' || '' }}
15-
NUMEXPR_NUM_THREADS: ${{ env.GITEA_ACTIONS == 'true' && '1' || '' }}
10+
# These are set to '1' if the IS_GITEA var is true, otherwise they are empty and have no effect.
11+
OMP_NUM_THREADS: ${{ vars.IS_GITEA == 'true' && '1' || '' }}
12+
MKL_NUM_THREADS: ${{ vars.IS_GITEA == 'true' && '1' || '' }}
13+
OPENBLAS_NUM_THREADS: ${{ vars.IS_GITEA == 'true' && '1' || '' }}
14+
VECLIB_MAXIMUM_THREADS: ${{ vars.IS_GITEA == 'true' && '1' || '' }}
15+
NUMEXPR_NUM_THREADS: ${{ vars.IS_GITEA == 'true' && '1' || '' }}
1616
DEBIAN_FRONTEND: noninteractive
1717

1818
steps:

0 commit comments

Comments
 (0)