Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 15 additions & 9 deletions .github/workflows/nightly_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
31 changes: 15 additions & 16 deletions .github/workflows/notebook_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions test_environment-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading