Skip to content

Commit

Permalink
Clean Jupyter Notebook Output (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLoecker authored Oct 24, 2022
1 parent 2f3c685 commit 0a7d564
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 783 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,17 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

# Fail if prehook not used
- name: Set Up Python for Cleaning
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Clean Notebook Output
run: |
python -m pip install --upgrade nbstripout --no-cache-dir
find /home/runner/work/MADRID/MADRID/ -name "*.ipynb" -exec nbstripout "{}" \;
# Fail if prehook not used
- name: Clean Notebook Output
uses: ResearchSoftwareActions/EnsureCleanNotebooksAction@1.1

Expand Down
Loading

0 comments on commit 0a7d564

Please sign in to comment.