Skip to content

Commit d10c02f

Browse files
committed
Revert "the conditional did not work"
This reverts commit 7249f9b.
1 parent 7249f9b commit d10c02f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/ci-pkg-install.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,9 @@ jobs:
6161
if: ${{ matrix.pkg-name == 'lightning' }}
6262
run: python -m lightning --version
6363

64-
- name: Ignore import mismatch on Python 3.7
65-
if: ${{ matrix.python-version == '3.7' }}
66-
run: export PY_IGNORE_IMPORTMISMATCH=1
67-
6864
- name: DocTest package
65+
env:
66+
PY_IGNORE_IMPORTMISMATCH: ${{ matrix.python-version == '3.7' }}
6967
run: |
7068
PKG_NAME=$(python -c "print({'app': 'lightning_app', 'lite': 'lightning_lite', 'pytorch': 'pytorch_lightning', 'lightning': 'lightning'}['${{matrix.pkg-name}}'])")
7169
python -m pytest src/${PKG_NAME} --ignore-glob="**/cli/*-template/**"

0 commit comments

Comments
 (0)