diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/python.yml | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 1186278d1fe..5839ae90dfd 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -18,29 +18,11 @@ jobs: architecture: 'x64' - name: Install the library run: | - pip install nbdev fastcore jupyter pytest + pip install pytest pip install -e . - name: Test with pytest run: | pytest - - name: Read all notebooks - run: | - nbdev_read_nbs - - name: Check if all notebooks are cleaned - run: | - echo "Check we are starting with clean git checkout" - if [ -n "$(git status -uno -s)" ]; then echo "git status is not clean"; false; fi - echo "Trying to strip out notebooks" - nbdev_clean_nbs - echo "Check that strip out was unnecessary" - git status -s # display the status to see which nbs need cleaning up - if [ -n "$(git status -uno -s)" ]; then echo -e "!!! Detected unstripped out notebooks\n!!!Remember to run nbdev_install_git_hooks"; false; fi - - name: Check if there is no diff library/notebooks - run: | - if [ -n "$(nbdev_diff_nbs)" ]; then echo -e "!!! Detected difference between the notebooks and the library"; false; fi -# - name: Run notebook tests -# run: | -# nbdev_test_nbs - name: Build and publish if: github.event_name == 'push' && github.ref == 'refs/heads/master' env: |