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
4 changes: 2 additions & 2 deletions .github/workflows/Test-CI-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:

# Run Tests
- name: Run Notebooks (quick tests)
run: python -m pytest -c tests/config_quick_tests.ini
run: python -m pytest -c tests/config_quick_tests.ini --roordir=.
env:
# to disable a warning in Jupyter notebooks
JUPYTER_PLATFORM_DIRS: "1"
Expand All @@ -137,7 +137,7 @@ jobs:
LIMIT_TEST_LINKS_TO_FILES_ONLY: "true"

- name: Run Notebooks (executing notebooks and testing content)
run: python -m pytest -c tests/config_notebook_execute_tests.ini
run: python -m pytest -c tests/config_notebook_execute_tests.ini --roordir=.
env:
# to disable a warning in Jupyter notebooks
JUPYTER_PLATFORM_DIRS: "1"
Expand Down
7 changes: 5 additions & 2 deletions tests/config_notebook_execute_tests.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
[pytest]
testpaths =
tests/notebooks
tests/test_links

addopts = --color=yes --log-cli-level=INFO --durations=0 --durations-min=1
addopts =
--color=yes
--log-cli-level=INFO
--durations=0
--durations-min=1

#
# Common settings
Expand Down
4 changes: 3 additions & 1 deletion tests/config_quick_tests.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ norecursedirs =
tests/notebooks
tests/qmods

addopts = --color=yes --log-cli-level=INFO
addopts =
--color=yes
--log-cli-level=INFO

#
# Common settings
Expand Down