Skip to content

Commit d78dec0

Browse files
committed
Fix pytest config weekly
1 parent 05da472 commit d78dec0

7 files changed

+15
-7
lines changed

.github/workflows/Test-CI-daily-internal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
# Run Notebook Tests
3535
- name: Run Notebooks
36-
run: python -m pytest $(<tests/config_weekly) tests/internal tests/test_*.py
36+
run: python -m pytest -c tests/config_weekly.ini tests/internal tests/test_*.py
3737
env:
3838
# to disable a warning in Jupyter notebooks
3939
JUPYTER_PLATFORM_DIRS: "1"

.github/workflows/Test-CI-daily-notebooks-algorithms.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
4040
# Run Notebook Tests
4141
- name: Run Notebooks
42-
run: python -m pytest $(<tests/config_weekly) tests/notebooks
42+
run: python -m pytest -c tests/config_weekly.ini tests/notebooks
4343
env:
4444
# to disable a warning in Jupyter notebooks
4545
JUPYTER_PLATFORM_DIRS: "1"

.github/workflows/Test-CI-daily-notebooks-applications.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
4040
# Run Notebook Tests
4141
- name: Run Notebooks
42-
run: python -m pytest $(<tests/config_weekly) tests/notebooks
42+
run: python -m pytest -c tests/config_weekly.ini tests/notebooks
4343
env:
4444
# to disable a warning in Jupyter notebooks
4545
JUPYTER_PLATFORM_DIRS: "1"

.github/workflows/Test-CI-daily-notebooks-other.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
# Run Notebook Tests
3535
- name: Run Notebooks
36-
run: python -m pytest $(<tests/config_weekly) tests/notebooks/test__community_and_functions.py tests/notebooks/workshops tests/notebooks/classiq_paper
36+
run: python -m pytest -c tests/config_weekly.ini tests/notebooks/test__community_and_functions.py tests/notebooks/workshops tests/notebooks/classiq_paper
3737
env:
3838
# to disable a warning in Jupyter notebooks
3939
JUPYTER_PLATFORM_DIRS: "1"

.github/workflows/Test-CI-daily-notebooks-tutorials.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
4040
# Run Notebook Tests
4141
- name: Run Notebooks
42-
run: python -m pytest $(<tests/config_weekly) tests/notebooks
42+
run: python -m pytest -c tests/config_weekly.ini tests/notebooks
4343
env:
4444
# to disable a warning in Jupyter notebooks
4545
JUPYTER_PLATFORM_DIRS: "1"

tests/config_weekly

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/config_weekly.ini

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[pytest]
2+
addopts = --color=yes --log-cli-level=INFO --durations=0 --durations-min=1 --junit-xml=pytest-results/test-results.xml
3+
4+
#
5+
# Common settings
6+
#
7+
python_files = test_*.py
8+
9+
filterwarnings =
10+
error

0 commit comments

Comments
 (0)