Skip to content

Commit d06611a

Browse files
committed
Test more notebooks
1 parent 5d7c83d commit d06611a

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/run_jupyter_notebooks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ jobs:
2424
secrets: inherit
2525
with:
2626
matrix_os: ${{ matrix.os }}
27-
fermitools_pkg_ver: "2.4.150"
27+
fermitools_pkg_ver: "2.4.154"

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,11 @@ jobs:
6767
# mkdir -p test_results
6868
# cd test_results/
6969
# pytest --junitxml=test_results/jupyter_results.xml --nbmake SourceAnalysis/**/*.ipynb
70+
# LATSourceModel needed by 5.PythonUpperLimits/upper_limits.ipynb
71+
pip install LATSourceModel
7072
# These pass individually : (4,7,10), but fail when ran in parallel with "-n=auto"
71-
pytest --junitxml=test_results/jupyter_results.xml --nbmake --nbmake-timeout=5000 SourceAnalysis/4.SummedPythonLikelihood/summed_tutorial.ipynb SourceAnalysis/7.LATAperturePhotometry/aperture_photometry.ipynb SourceAnalysis/10.EnergyDispersion/binnededisp_tutorial.ipynb
73+
pytest --junitxml=test_results/jupyter_results.xml --nbmake --nbmake-timeout=5000 -v --full-trace SourceAnalysis/6.ExtendedSourceAnalysis/extended.ipynb SourceAnalysis/2.UnbinnedLikelihood/likelihood_tutorial.ipynb SourceAnalysis/1.BinnedLikelihood/binned_likelihood_tutorial.ipynb
74+
# Passes 150: SourceAnalysis/4.SummedPythonLikelihood/summed_tutorial.ipynb SourceAnalysis/7.LATAperturePhotometry/aperture_photometry.ipynb SourceAnalysis/10.EnergyDispersion/binnededisp_tutorial.ipynb
7275
7376
# The layout for this reporting action works. Not sure if there is something better, but it does a good job for us.
7477
- name: Publish Test Results Linux

environments/fermitools-jupyter-nb.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ dependencies:
66
- python=3.11
77
- ipykernel
88
- pytest
9-
- pytest-xdist
109
- astropy
1110
- junit-xml
1211
- nbmake
1312
- nb_conda_kernels
1413
- jupyterlab
14+
# - pytest-xdist

0 commit comments

Comments
 (0)