Skip to content

Commit

Permalink
Disable some tests for automatic jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
SlashGordon committed Sep 9, 2021
1 parent f636c68 commit 380464b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/symbolscanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: pip install tox
- name: Run tests
run: |
tox
tox -e symbolscanner-py38
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/symbolscannersymbols.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: pip install tox
- name: Run tests
run: |
tox -e symbolscanner-py38
tox -e symbolscannersymbols-py38
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
with:
Expand Down
11 changes: 10 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ commands =
python tools/yaml2json.py
pytest tests/ --junitxml test-results/test.xml --cov src/pytickersymbols --cov-report term-missing
python setup.py bdist_wheel
[testenv:symbolscanner-py38]
[testenv:symbolscannersymbols-py38]
setenv =
PYTHONPATH = {toxinidir}/src
SKIP_UNIQUE_TICKER_CHECK = 1
Expand All @@ -25,6 +25,15 @@ deps = {[testenv]deps}
commands =
python tools/yaml2json.py
pytest tests/ -k 'not test_unique_ticker_symbols' --junitxml test-results/test.xml --cov src/pytickersymbols --cov-report term-missing
[testenv:symbolscanner-py38]
setenv =
PYTHONPATH = {toxinidir}/src
SKIP_UNIQUE_TICKER_CHECK = 1
basepython = {[testenv]basepython}
deps = {[testenv]deps}
commands =
python tools/yaml2json.py
pytest tests/ -k 'not test_unique_ticker_symbols and not test_valid_country_name' --junitxml test-results/test.xml --cov src/pytickersymbols --cov-report term-missing
[testenv:flake8]
max-line-length = 80
ignore = E501
Expand Down

0 comments on commit 380464b

Please sign in to comment.