mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 01:04:29 +03:00
commit
3aa5d56bae
|
@ -10,15 +10,10 @@ fi
|
||||||
lcov --capture --directory . -b . --output-file coverage.info
|
lcov --capture --directory . -b . --output-file coverage.info
|
||||||
# filter to remove system headers
|
# filter to remove system headers
|
||||||
lcov --remove coverage.info '/usr/*' -o coverage.filtered.info
|
lcov --remove coverage.info '/usr/*' -o coverage.filtered.info
|
||||||
# convert to json
|
|
||||||
sudo gem install coveralls-lcov
|
|
||||||
coveralls-lcov -v -n coverage.filtered.info > coverage.c.json
|
|
||||||
|
|
||||||
pip install codecov
|
pip install codecov
|
||||||
coverage report
|
coverage report
|
||||||
|
|
||||||
pip install coveralls-merge
|
|
||||||
coveralls-merge coverage.c.json
|
|
||||||
if [[ $TRAVIS ]]; then
|
if [[ $TRAVIS ]]; then
|
||||||
codecov
|
codecov
|
||||||
fi
|
fi
|
||||||
|
|
2
.github/workflows/test-docker.yml
vendored
2
.github/workflows/test-docker.yml
vendored
|
@ -47,8 +47,6 @@ jobs:
|
||||||
- name: After success
|
- name: After success
|
||||||
if: success()
|
if: success()
|
||||||
run: |
|
run: |
|
||||||
pip install wheel
|
|
||||||
sudo apt-get install -qq ruby-dev
|
|
||||||
PATH="$PATH:~/.local/bin"
|
PATH="$PATH:~/.local/bin"
|
||||||
.ci/after_success.sh
|
.ci/after_success.sh
|
||||||
env:
|
env:
|
||||||
|
|
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
|
@ -89,7 +89,6 @@ jobs:
|
||||||
.ci/after_success.sh
|
.ci/after_success.sh
|
||||||
env:
|
env:
|
||||||
MATRIX_OS: ${{ matrix.os }}
|
MATRIX_OS: ${{ matrix.os }}
|
||||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
|
||||||
|
|
||||||
- name: Prepare coverage token
|
- name: Prepare coverage token
|
||||||
if: success() && github.repository == 'python-pillow/Pillow'
|
if: success() && github.repository == 'python-pillow/Pillow'
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
black; python_version >= '3.6'
|
black; python_version >= '3.6'
|
||||||
check-manifest
|
check-manifest
|
||||||
coverage
|
coverage
|
||||||
coveralls
|
|
||||||
jarn.viewdoc
|
jarn.viewdoc
|
||||||
olefile
|
olefile
|
||||||
pycodestyle
|
pycodestyle
|
||||||
|
|
Loading…
Reference in New Issue
Block a user