Skip to content

Commit 2fccd1e

Browse files
authored
CI: adjust doctests for lightning.pytorch (#15469)
1 parent be4cb35 commit 2fccd1e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/docs-checks.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ jobs:
7979
pip install -e . -U --find-links https://download.pytorch.org/whl/cpu/torch_stable.html --find-links pypi
8080
git checkout -- setup.py MANIFEST.in
8181
82+
- name: Adjust examples
83+
if: ${{ matrix.pkg-name == 'lightning' }}
84+
run: python .actions/assistant.py copy_replace_imports --source_dir="./src" --source_import="pytorch_lightning,lightning_lite" --target_import="lightning.pytorch,lightning.lite"
85+
8286
- name: Install this package
8387
env:
8488
PACKAGE_NAME: ${{ matrix.pkg }}

0 commit comments

Comments
 (0)