diff --git a/.github/workflows/nightly_ci.yaml b/.github/workflows/nightly_ci.yaml index e4d73584..b976b0b1 100644 --- a/.github/workflows/nightly_ci.yaml +++ b/.github/workflows/nightly_ci.yaml @@ -19,15 +19,6 @@ jobs: qutip-branch: 'qutip-4.7.X' - qutip-version: '5' qutip-branch: 'master' - steps: - - uses: actions/checkout@v4 - - uses: gaurav-nelson/github-action-markdown-link-check@v1 - with: - use-quiet-mode: 'yes' - folder-path: tutorials-v${{ matrix.qutip-version }} - #use config file to define 403 and 405 errors as valid links - #(APS blocks this link check) - config-file: mlc_config.json - name: Setup Conda uses: conda-incubator/setup-miniconda@v3 @@ -78,6 +69,9 @@ jobs: sudo apt install ffmpeg sudo apt install texlive-latex-extra + - name: Show environment + run: conda list + - name: Convert Notebooks run: | rm -rf notebooks @@ -107,6 +101,18 @@ jobs: notebooks/*.ipynb notebooks/**/*.ipynb + markdown-link-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: tcort/github-action-markdown-link-check@v1 + with: + use-quiet-mode: 'yes' + folder-path: 'tutorials-v4, tutorials-v5' + #use config file to define 403 and 405 errors as valid links + #(APS blocks this link check) + config-file: mlc_config.json + finalise: needs: pytests diff --git a/.github/workflows/notebook_ci.yaml b/.github/workflows/notebook_ci.yaml index c51f3951..8f2f1610 100644 --- a/.github/workflows/notebook_ci.yaml +++ b/.github/workflows/notebook_ci.yaml @@ -23,14 +23,6 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: gaurav-nelson/github-action-markdown-link-check@v1 - with: - use-quiet-mode: 'yes' - folder-path: tutorials-v${{ matrix.qutip-version }} - #use config file to define 403 and 405 errors as valid links - #(APS blocks this link check) - config-file: mlc_external_config.json - - name: Setup Conda uses: conda-incubator/setup-miniconda@v3 with: @@ -80,6 +72,9 @@ jobs: sudo apt install ffmpeg sudo apt install texlive-latex-extra + - name: Show environment + run: conda list + - name: Convert Notebooks run: | rm -rf notebooks @@ -108,14 +103,18 @@ jobs: path: | notebooks/*.ipynb notebooks/**/*.ipynb - - - uses: gaurav-nelson/github-action-markdown-link-check@v1 - with: - use-quiet-mode: 'yes' - folder-path: tutorials-v${{ matrix.qutip-version }} - #use config file to define 403 and 405 errors as valid links - #(APS blocks this link check) - config-file: mlc_config.json + + markdown-link-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: tcort/github-action-markdown-link-check@v1 + with: + use-quiet-mode: 'yes' + folder-path: 'tutorials-v4, tutorials-v5' + #use config file to define 403 and 405 errors as valid links + #(APS blocks this link check) + config-file: mlc_external_config.json publish: needs: pytests diff --git a/test_environment-v4.yml b/test_environment-v4.yml index daa190f3..a32e5e73 100644 --- a/test_environment-v4.yml +++ b/test_environment-v4.yml @@ -14,3 +14,4 @@ dependencies: - jupytext==1.13.8 - jupyter==1.0.0 - ipykernel==6.17.1 # 6.18.0 was yanked but is still present on conda-forge +- matplotlib-inline==0.1.7