Add a regression test for lazy imports #1912
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: no notebook deps | |
on: [push] | |
env: | |
JUPYTER_PLATFORM_DIRS: "1" | |
jobs: | |
build_no_nb: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
cache: 'pip' | |
cache-dependency-path: setup.py | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install . | |
pip install -r docs/requirements.txt | |
- name: Pytest | |
run: | | |
cd .github/workflows | |
python pylake_test.py |