Skip to content

Commit e538c72

Browse files
authored
Update test.yaml
1 parent 37cc5f3 commit e538c72

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,4 @@ on: [workflow_dispatch, pull_request, push]
44
jobs:
55
test:
66
runs-on: ubuntu-latest
7-
steps:
8-
- uses: actions/checkout@v3
9-
- uses: actions/setup-python@v3
10-
- name: Install deps, check cleaned, and test
11-
run: |
12-
python -m pip install --upgrade pip
13-
pip install -U nbdev
14-
pip install -qe ".[dev]"
15-
echo "Check we are starting with clean git checkout"
16-
if [ -n "$(git status -uno -s)" ]; then echo "git status is not clean"; false; fi
17-
echo "Trying to strip out notebooks"
18-
nbdev_clean
19-
echo "Check that strip out was unnecessary"
20-
git status -s # display the status to see which nbs need cleaning up
21-
if [ -n "$(git status -uno -s)" ]; then echo -e "!!! Detected unstripped out notebooks\n!!!Remember to run nbdev_install_hooks"; false; fi
22-
nbdev_test
7+
steps: [uses: fastai/workflows/nbdev-ci@master]

0 commit comments

Comments
 (0)