summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authortmartins <thigm85@gmail.com>2020-08-27 10:47:33 +0200
committertmartins <thigm85@gmail.com>2020-08-27 10:47:33 +0200
commitb14e7f86fa2c0f912603e641a632934f3ea64f59 (patch)
tree2f7e8bfafbbb2ee95315f1421a648dd036c2b443 /.github
parente1945f9b5a698dbdc973e35b8f57ada7ce060bc7 (diff)
remove nbdev from github actions
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/python.yml20
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: