Skip to content

Commit 132d82e

Browse files
committed
disabled online/live tests in automated tests
1 parent 95327c4 commit 132d82e

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ jobs:
3232
python -m pip install --upgrade pip
3333
python -m pip install --upgrade 'setuptools>=40' 'tox>=3.14'
3434
- name: Test nichtparasoup
35-
run: python -m tox -r -e py3-coverageXML
35+
# since the version got retired, we dont need online tests
36+
run: python -m tox -r -e py3-coverageXML -- -m "not online"
3637
- name: "Test examples::nichtparasoup-imagecrawler-plugin"
3738
run: python -m tox -r -e py3 -c examples/nichtparasoup-imagecrawler-plugin/
3839
- name: Upload coverage to Codecov

.github/workflows/pythonpublish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626
python -m pip install --upgrade pip
2727
python -m pip install --upgrade 'setuptools>=40' 'tox>=3.14'
2828
- name: Test nichtparasoup
29-
run: python -m tox -r -e py3
29+
# since the version got retired, we dont need online tests
30+
run: python -m tox -r -e py3 -- -m "not online"
3031
- name: "Test examples::nichtparasoup-imagecrawler-plugin"
3132
run: python -m tox -r -e py3 -c examples/nichtparasoup-imagecrawler-plugin/
3233
publish:

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ commands =
1919
{envpython} --version
2020
{envpython} -m flake8
2121
{envpython} -m mypy
22-
{envpython} -m coverage run -m pytest -v
22+
{envpython} -m coverage run -m pytest -v {posargs}
2323
coverageReport: {envpython} -m coverage report -m
2424
coverageXML: {envpython} -m coverage xml -i
2525

0 commit comments

Comments
 (0)