Skip to content

Commit 726c931

Browse files
authored
bpo-43888: Remove coverage builds from CI (GH-25679)
The coverage builds were consistently timing out in CI, suggesting that people were not reviewing the uploaded reports.
1 parent 6143fcd commit 726c931

File tree

4 files changed

+0
-184
lines changed

4 files changed

+0
-184
lines changed

.github/codecov.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/coverage.yml

Lines changed: 0 additions & 95 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -69,61 +69,6 @@ matrix:
6969
- make -C Doc/ PYTHON=../python venv
7070
script:
7171
xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W -j4" doctest
72-
- name: "Test code coverage (Python)"
73-
os: linux
74-
language: c
75-
compiler: gcc
76-
env: OPTIONAL=true
77-
addons:
78-
apt:
79-
packages:
80-
- xvfb
81-
before_script:
82-
- |
83-
if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]
84-
then
85-
echo "Don't run Python coverage on pull requests."
86-
exit
87-
fi
88-
- ./configure
89-
- make -j4
90-
# Need a venv that can parse covered code.
91-
- ./python -m venv venv
92-
- ./venv/bin/python -m pip install -U coverage
93-
- ./venv/bin/python -m pip install -r Misc/requirements-test.txt
94-
- ./venv/bin/python -m test.pythoninfo
95-
- export PYTHONPATH=`find venv -name fullcoverage`
96-
script:
97-
# Skip tests that re-run the entire test suite.
98-
- xvfb-run ./venv/bin/python -m coverage run --branch --pylib -m test --fail-env-changed -uall,-cpu -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_multiprocessing_spawn -x test_concurrent_futures || true
99-
after_script: # Probably should be after_success once test suite updated to run under coverage.py.
100-
# Make the `coverage` command available to Codecov w/ a version of Python that can parse all source files.
101-
- export PYTHONPATH=
102-
- source ./venv/bin/activate
103-
- bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml
104-
- name: "Test code coverage (C)"
105-
os: linux
106-
language: c
107-
compiler: gcc
108-
env: OPTIONAL=true
109-
addons:
110-
apt:
111-
packages:
112-
- lcov
113-
- xvfb
114-
before_script:
115-
- |
116-
if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]
117-
then
118-
echo "Don't run C coverage on pull requests."
119-
exit
120-
fi
121-
- ./configure
122-
script:
123-
- xvfb-run make -j4 coverage-report
124-
after_script: # Probably should be after_success once test suite updated to run under coverage.py.
125-
- make pythoninfo
126-
- bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml
12772

12873

12974
before_install:

README.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ This is Python version 3.10.0 alpha 7
1313
:alt: CPython build status on Azure DevOps
1414
:target: https://dev.azure.com/python/cpython/_build/latest?definitionId=4&branchName=master
1515

16-
.. image:: https://codecov.io/gh/python/cpython/branch/master/graph/badge.svg
17-
:alt: CPython code coverage on Codecov
18-
:target: https://codecov.io/gh/python/cpython
19-
2016
.. image:: https://img.shields.io/badge/discourse-join_chat-brightgreen.svg
2117
:alt: Python Discourse chat
2218
:target: https://discuss.python.org/

0 commit comments

Comments
 (0)