Skip to content

Commit

Permalink
Remove benchmarking tutorial (#1521)
Browse files Browse the repository at this point in the history
* Debug failing notebook tests

* Known working nbmake

* Remove buggy tutorial

* Undo version change

* No longer need to rerun tests

* Update tutorials to new syntax
  • Loading branch information
adamjstewart authored Sep 21, 2023
1 parent 2fbdc85 commit 8a84205
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 373 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ jobs:
- name: Install pip dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: |
pip install .[docs,tests] planetary_computer pystac pytest-rerunfailures
pip install .[docs,tests] planetary_computer pystac
pip list
- name: Run notebook checks
run: pytest --nbmake --durations=10 --reruns=10 docs/tutorials
run: pytest --nbmake --durations=10 docs/tutorials
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.head.label || github.head_ref || github.ref }}
cancel-in-progress: true
4 changes: 2 additions & 2 deletions .github/workflows/tutorials.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
- name: Install pip dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: |
pip install .[docs,tests] planetary_computer pystac pytest-rerunfailures
pip install .[docs,tests] planetary_computer pystac
pip list
- name: Run notebook checks
run: pytest --nbmake --durations=10 --reruns=10 docs/tutorials
run: pytest --nbmake --durations=10 docs/tutorials
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.head.label || github.head_ref || github.ref }}
cancel-in-progress: true
1 change: 0 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ torchgeo
tutorials/transforms
tutorials/indices
tutorials/trainers
tutorials/benchmarking
tutorials/pretrained_weights

.. toctree::
Expand Down
364 changes: 0 additions & 364 deletions docs/tutorials/benchmarking.ipynb

This file was deleted.

Loading

0 comments on commit 8a84205

Please sign in to comment.