forked from python-pillow/Pillow
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only pin codecov-action for pull requests
- Loading branch information
Showing
5 changed files
with
48 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -141,13 +141,22 @@ jobs: | |
run: | | ||
bash.exe .ci/after_success.sh | ||
- name: Upload coverage | ||
- name: Upload coverage v3 | ||
if: github.event_name == 'pull_request' | ||
uses: codecov/[email protected] | ||
with: | ||
file: ./coverage.xml | ||
flags: GHA_Cygwin | ||
name: Cygwin Python 3.${{ matrix.python-minor-version }} | ||
|
||
- name: Upload coverage | ||
if: github.event_name != 'pull_request' | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
file: ./coverage.xml | ||
flags: GHA_Cygwin | ||
name: Cygwin Python 3.${{ matrix.python-minor-version }} | ||
|
||
success: | ||
permissions: | ||
contents: none | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,13 +100,21 @@ jobs: | |
env: | ||
MATRIX_DOCKER: ${{ matrix.docker }} | ||
|
||
- name: Upload coverage | ||
- name: Upload coverage v3 | ||
if: github.event_name == 'pull_request' | ||
uses: codecov/[email protected] | ||
with: | ||
flags: GHA_Docker | ||
name: ${{ matrix.docker }} | ||
gcov: true | ||
|
||
- name: Upload coverage | ||
if: github.event_name != 'pull_request' | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
flags: GHA_Docker | ||
name: ${{ matrix.docker }} | ||
|
||
success: | ||
permissions: | ||
contents: none | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,9 +81,18 @@ jobs: | |
python3 -c "from PIL import Image" | ||
python3 -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests | ||
- name: Upload coverage | ||
- name: Upload coverage v3 | ||
if: github.event_name == 'pull_request' | ||
uses: codecov/[email protected] | ||
with: | ||
file: ./coverage.xml | ||
flags: GHA_Windows | ||
name: "MSYS2 MinGW" | ||
|
||
- name: Upload coverage | ||
if: github.event_name != 'pull_request' | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
file: ./coverage.xml | ||
flags: GHA_Windows | ||
name: "MSYS2 MinGW" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -201,13 +201,22 @@ jobs: | |
.ci/after_success.sh | ||
shell: pwsh | ||
|
||
- name: Upload coverage | ||
- name: Upload coverage v3 | ||
if: github.event_name == 'pull_request' | ||
uses: codecov/[email protected] | ||
with: | ||
file: ./coverage.xml | ||
flags: GHA_Windows | ||
name: ${{ runner.os }} Python ${{ matrix.python-version }} | ||
|
||
- name: Upload coverage | ||
if: github.event_name != 'pull_request' | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
file: ./coverage.xml | ||
flags: GHA_Windows | ||
name: ${{ runner.os }} Python ${{ matrix.python-version }} | ||
|
||
success: | ||
permissions: | ||
contents: none | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -148,13 +148,21 @@ jobs: | |
run: | | ||
.ci/after_success.sh | ||
- name: Upload coverage | ||
- name: Upload coverage v3 | ||
if: github.event_name == 'pull_request' | ||
uses: codecov/[email protected] | ||
with: | ||
flags: ${{ matrix.os == 'ubuntu-latest' && 'GHA_Ubuntu' || 'GHA_macOS' }} | ||
name: ${{ matrix.os }} Python ${{ matrix.python-version }} | ||
gcov: true | ||
|
||
- name: Upload coverage | ||
if: github.event_name != 'pull_request' | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
flags: ${{ matrix.os == 'ubuntu-latest' && 'GHA_Ubuntu' || 'GHA_macOS' }} | ||
name: ${{ matrix.os }} Python ${{ matrix.python-version }} | ||
|
||
success: | ||
permissions: | ||
contents: none | ||
|