Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit 0b955b5

Browse files
authored
CI: docs nightly (#152)
* fix docs links * nightly * timeout
1 parent 1143a73 commit 0b955b5

File tree

5 files changed

+8
-2
lines changed

5 files changed

+8
-2
lines changed

.github/workflows/ci_code-format.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on: # Trigger the workflow on push or pull request, but only for the main branc
1212
jobs:
1313
pre-commit-check:
1414
runs-on: ubuntu-latest
15+
timeout-minutes: 10
1516
steps:
1617
- uses: actions/checkout@v2
1718
- uses: actions/setup-python@v2

.github/workflows/ci_docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: validate Docs
22

33
on: # Trigger the workflow on push or pull request
44
pull_request: {}
5+
schedule:
6+
# At the end of every day
7+
- cron: "0 0 * * *"
58

69
concurrency:
710
group: ${{ github.workflow }}-${{ github.head_ref }}
@@ -13,6 +16,7 @@ jobs:
1316
env:
1417
PUB_BRANCH: publication
1518
PATH_DATASETS: ${{ github.workspace }}/.datasets
19+
timeout-minutes: 20
1620
steps:
1721
- name: Checkout 🛎️
1822
uses: actions/checkout@v2

.github/workflows/ci_schema.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on: # Trigger the workflow on push or pull request, but only for the master bran
77
jobs:
88
validate-schema:
99
runs-on: ubuntu-20.04
10+
timeout-minutes: 5
1011
steps:
1112
- name: Checkout
1213
uses: actions/checkout@v2

lightning_examples/mnist-hello-world/hello-world.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def configure_optimizers(self):
8989
# - If you don't mind loading all your datasets at once, you can set up a condition to allow for both 'fit' related setup and 'test' related setup to run whenever `None` is passed to `stage` (or ignore it altogether and exclude any conditionals).
9090
# - **Note this runs across all GPUs and it *is* safe to make state assignments here**
9191
#
92-
# 3. [x_dataloader()](https://pytorch-lightning.readthedocs.io/en/stable/api/pytorch_lightning.core.hooks.html) ♻️
92+
# 3. [x_dataloader()](https://pytorch-lightning.readthedocs.io/en/stable/api_references.html#core-api) ♻️
9393
# - `train_dataloader()`, `val_dataloader()`, and `test_dataloader()` all return PyTorch `DataLoader` instances that are created by wrapping their respective datasets that we prepared in `setup()`
9494

9595

lightning_examples/mnist-tpu-training/.meta.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88
- Image
99
description: In this notebook, we'll train a model on TPUs. Updating one Trainer flag is all you need for that.
1010
The most up to documentation related to TPU training can be found
11-
[here](https://pytorch-lightning.readthedocs.io/en/stable/advanced/tpu.html).
11+
[here](https://pytorch-lightning.readthedocs.io/en/stable/accelerators/tpu.html).
1212
requirements:
1313
- torchvision
1414
accelerator:

0 commit comments

Comments
 (0)