Skip to content

Commit 62deb7d

Browse files
committed
Apply review suggestions from sawa3030
1 parent c2bff0b commit 62deb7d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/pytorch.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
name: pytorch
22

33
on:
4-
# TODO(c-bata): Uncomment the following lines after fixing the examples.
5-
# See https://github.com/optuna/optuna-examples/issues/336 for details.
6-
# schedule:
7-
# - cron: '0 15 * * *'
4+
schedule:
5+
- cron: '0 15 * * *'
86
pull_request:
97
paths:
108
- 'pytorch/**'
@@ -81,6 +79,9 @@ jobs:
8179
env:
8280
OMP_NUM_THREADS: 1
8381
- name: Run skorch example
82+
# TODO(c-bata): Remove the following if statement after fixing the example.
83+
# See https://github.com/optuna/optuna-examples/issues/336 for details.
84+
if: github.event_name != 'schedule'
8485
run: |
8586
python pytorch/skorch_simple.py
8687
env:

0 commit comments

Comments
 (0)