Skip to content

Commit 98b2471

Browse files
committed
Disable warnings in unit tests.
1 parent d898edd commit 98b2471

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ jobs:
8282
- name: Test with nosetests
8383
run: |
8484
source $(poetry env info -p)/bin/activate
85-
PYTHONWARNINGS=ignore
86-
nosetests --nocapture --with-doctest --doctest-options=+ELLIPSIS --with-coverage --cover-package=$CI_PACKAGE $CI_PACKAGE
85+
python -W ignore -m nose -v --nocapture --with-doctest --doctest-options=+ELLIPSIS --with-coverage --cover-package=$CI_PACKAGE $CI_PACKAGE
8786
- name: Upload Coverage to coveralls.io
8887
if: matrix.python-version == '3.6' || matrix.python-version == '3.7'
8988
run: |
@@ -146,8 +145,7 @@ jobs:
146145
# - name: Test with nosetests
147146
# run: |
148147
# call %CI_VIRTUAL_ENVIRONMENT%\scripts\activate
149-
# set PYTHONWARNINGS=ignore
150-
# nosetests --nocapture --with-doctest --doctest-options=+ELLIPSIS --with-coverage --cover-package=%CI_PACKAGE% %CI_PACKAGE%
148+
# python -W ignore -m nose -v --nocapture --with-doctest --doctest-options=+ELLIPSIS --with-coverage --cover-package=%CI_PACKAGE% %CI_PACKAGE%
151149
# - name: Upload Coverage to coveralls.io
152150
# if: matrix.python-version == '3.6' || matrix.python-version == '3.7'
153151
# run: |

0 commit comments

Comments
 (0)