mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 17:54:32 +03:00
Merge pull request #40 from radarhere/gha-codecov-bash
Keep codecov-action
This commit is contained in:
commit
fe57b98c01
19
.github/workflows/test-windows.yml
vendored
19
.github/workflows/test-windows.yml
vendored
|
@ -364,19 +364,16 @@ jobs:
|
||||||
name: errors
|
name: errors
|
||||||
path: Tests/errors
|
path: Tests/errors
|
||||||
|
|
||||||
|
- name: Prepare coverage token
|
||||||
|
if: success() && github.repository == 'python-pillow/Pillow'
|
||||||
|
run: cp .github/codecov-upstream.yml .codecov.yml
|
||||||
|
|
||||||
- name: Upload coverage
|
- name: Upload coverage
|
||||||
if: success()
|
if: success()
|
||||||
run: |
|
uses: codecov/codecov-action@v1
|
||||||
if [ "$GITHUB_REPOSITORY" == "python-pillow/Pillow" ]; then
|
with:
|
||||||
echo "CI on python-pillow/Pillow, copy CodeCov settings"
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
cp .github/codecov-upstream.yml .codecov.yml
|
name: ${{ runner.os }} Python ${{ matrix.python-version }}
|
||||||
fi
|
|
||||||
echo Upload coverage
|
|
||||||
curl -s https://codecov.io/bash | bash
|
|
||||||
env:
|
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
||||||
CODECOV_NAME: ${{ runner.os }} Python ${{ matrix.python-version }}
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
- name: Build wheel
|
- name: Build wheel
|
||||||
id: wheel
|
id: wheel
|
||||||
|
|
17
.github/workflows/test.yml
vendored
17
.github/workflows/test.yml
vendored
|
@ -97,14 +97,13 @@ jobs:
|
||||||
MATRIX_OS: ${{ matrix.os }}
|
MATRIX_OS: ${{ matrix.os }}
|
||||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||||
|
|
||||||
|
- name: Prepare coverage token
|
||||||
|
if: success() && github.repository == 'python-pillow/Pillow'
|
||||||
|
run: cp .github/codecov-upstream.yml .codecov.yml
|
||||||
|
|
||||||
- name: Upload coverage
|
- name: Upload coverage
|
||||||
if: success()
|
if: success()
|
||||||
run: |
|
uses: codecov/codecov-action@v1
|
||||||
if [ "$GITHUB_REPOSITORY" == "python-pillow/Pillow" ]; then
|
with:
|
||||||
echo "CI on python-pillow/Pillow, copy CodeCov settings"
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
cp .github/codecov-upstream.yml .codecov.yml
|
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
|
||||||
fi
|
|
||||||
bash <(curl -s https://codecov.io/bash)
|
|
||||||
env:
|
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
||||||
CODECOV_NAME: ${{ matrix.os }} Python ${{ matrix.python-version }}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user