Skip to content

Commit

Permalink
Merge pull request #576 from pytest-dev/ci-improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
youtux committed Nov 5, 2022
2 parents 69defd4 + 40a041f commit b915c2a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ jobs:
run: |
tox -e mypy
- name: Test with tox
env:
TOX_PARALLEL_NO_SPINNER: 1
run: |
coverage erase
tox
tox --parallel
coverage combine
coverage xml
- uses: codecov/codecov-action@v3
Expand Down
1 change: 0 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
testpaths = tests
filterwarnings =
error
ignore::DeprecationWarning
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ envlist = py{37,38,39,310,311}-pytest{62,70,71,72,latest}-coverage,
skip_missing_interpreters = true

[testenv]
parallel_show_output = true
setenv =
coverage: _PYTEST_CMD=coverage run -m pytest
xdist: _PYTEST_MORE_ARGS=-n3 -rfsxX
Expand Down

0 comments on commit b915c2a

Please sign in to comment.