File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5858 - name : Upload coverage to Coveralls
5959 # Upload coverage if we are on the main repository and
6060 # 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')
6264 uses : AndreMiras/coveralls-python-action@v20201129
6365 with :
6466 github-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -39,19 +39,15 @@ deps =
3939; remove this when pypy releases the bugfix
4040commands =
4141 pip install -e .[d]
42- coverage erase
4342 pytest tests \
4443 --run-optional no_jupyter \
4544 !ci: --numprocesses auto \
46- ci: --numprocesses 1 \
47- --cov {posargs}
45+ ci: --numprocesses 1
4846 pip install -e .[jupyter]
4947 pytest tests --run-optional jupyter \
5048 -m jupyter \
5149 !ci: --numprocesses auto \
52- ci: --numprocesses 1 \
53- --cov --cov-append {posargs}
54- coverage report
50+ ci: --numprocesses 1
5551
5652[testenv:{,ci-}311]
5753setenv =
You can’t perform that action at this time.
0 commit comments