File tree 2 files changed +5
-7
lines changed
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 58
58
- name : Upload coverage to Coveralls
59
59
# Upload coverage if we are on the main repository and
60
60
# we're running on Linux (this action only supports Linux)
61
- if : github.repository == 'psf/black' && matrix.os == 'ubuntu-latest'
61
+ if :
62
+ github.repository == 'psf/black' && matrix.os == 'ubuntu-latest' &&
63
+ !startsWith(matrix.python-version, 'pypy')
62
64
uses : AndreMiras/coveralls-python-action@v20201129
63
65
with :
64
66
github-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -39,19 +39,15 @@ deps =
39
39
; remove this when pypy releases the bugfix
40
40
commands =
41
41
pip install -e .[d]
42
- coverage erase
43
42
pytest tests \
44
43
--run-optional no_jupyter \
45
44
!ci: --numprocesses auto \
46
- ci: --numprocesses 1 \
47
- --cov {posargs}
45
+ ci: --numprocesses 1
48
46
pip install -e .[jupyter]
49
47
pytest tests --run-optional jupyter \
50
48
-m jupyter \
51
49
!ci: --numprocesses auto \
52
- ci: --numprocesses 1 \
53
- --cov --cov-append {posargs}
54
- coverage report
50
+ ci: --numprocesses 1
55
51
56
52
[testenv:{,ci-}311]
57
53
setenv =
You can’t perform that action at this time.
0 commit comments