Skip to content

Commit 17ce797

Browse files
committed
Run 1 notebook only
1 parent e6ae205 commit 17ce797

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/testing-conda-jupyter.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ jobs:
6666
conda install --name testing-jupyter "fermi/label/dev::fermitools=${{inputs.fermitools_pkg_ver}}" python=3.11
6767
# mkdir -p test_results
6868
# cd test_results/
69-
pytest --junitxml=test_results/jupyter_results.xml --nbmake SourceAnalysis/**/*.ipynb
69+
# pytest --junitxml=test_results/jupyter_results.xml --nbmake SourceAnalysis/**/*.ipynb
70+
# Just run 1 test
71+
pytest --junitxml=test_results/jupyter_results.xml --nbmake --nbmake-timeout=3000 SourceAnalysis/7.LATAperturePhotometry/aperture_photometry.ipynb
7072
7173
# The layout for this reporting action works. Not sure if there is something better, but it does a good job for us.
7274
- name: Publish Test Results Linux

environments/fermitools-jupyter-nb.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ channels:
55
dependencies:
66
- python=3.11
77
- pytest
8+
- pytest-xdist
89
- astropy
910
- junit-xml
1011
- nbmake

0 commit comments

Comments
 (0)