Skip to content

Commit

Permalink
Mock jupyter notebook with all imports is not needed anymore, since c…
Browse files Browse the repository at this point in the history
…ompilation of the C++ backends now happens on installation
  • Loading branch information
francesco-ballarin committed Nov 16, 2023
1 parent f0b6dd6 commit 85cd595
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 65 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,6 @@ jobs:
uses: RBniCS/check-jupyter-metadata-action@main
with:
pattern: "tutorials/**/*.ipynb"
- name: Import modules at least once, so that tutorials duration is not affected by module setup
if: startsWith(matrix.backend, 'none') != true
run: |
python3 -m pytest --durations=0 --durations-min=1.0 tutorials/.imports.ipynb
- name: Run tutorials (serial)
if: startsWith(matrix.backend, 'none') != true
run: |
Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@ per-file-ignores = [
"tutorials/0*.py: D100, F401, I004",
"tutorials/1*.py: D100, F401, I004",
"tutorials/**/0*.py: D100, F401, I004",
"tutorials/**/1*.py: D100, F401, I004",
"tutorials/.imports*.py: D100, F401, I004",
"tutorials/**/.imports*.py: D100, F401, I004"
"tutorials/**/1*.py: D100, F401, I004"
]

[tool.isort]
Expand Down
58 changes: 0 additions & 58 deletions tutorials/.imports.ipynb

This file was deleted.

0 comments on commit 85cd595

Please sign in to comment.