Skip to content

Commit 509519f

Browse files
committed
change pytest rule for warnings
1 parent 380d5a1 commit 509519f

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/github_test_action.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ jobs:
5252
verbose: true
5353

5454
warnings:
55-
runs-on: ubuntu-latest
5655
continue-on-error: true
5756
timeout-minutes: 30
5857
steps:
@@ -70,7 +69,7 @@ jobs:
7069
python -m pip list
7170
- name: Test with pytest
7271
run: |
73-
pytest -W error
72+
pytest -W default
7473
7574
tutorial_tests:
7675
runs-on: ubuntu-latest
@@ -93,7 +92,6 @@ jobs:
9392
9493
tutorial_warnings_tests:
9594
runs-on: ubuntu-latest
96-
continue-on-error: true
9795
steps:
9896
- uses: actions/checkout@v4
9997
- name: Set up Python
@@ -109,7 +107,7 @@ jobs:
109107
python -m pip list
110108
- name: Test with pytest
111109
run: |
112-
PYTHONPATH=$PYTHONPATH:$GITHUB_WORKSPACE python -m pytest -W error --nbmake -n=auto --nbmake-timeout=900 "./tutorials"
110+
PYTHONPATH=$PYTHONPATH:$GITHUB_WORKSPACE python -m pytest -W default --nbmake -n=auto --nbmake-timeout=900 "./tutorials"
113111
114112
docs_check:
115113
needs: build

0 commit comments

Comments
 (0)