mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-13 05:06:49 +03:00
Use different Codecov flags for GHA_Ubuntu and GHA_macOS
This commit is contained in:
parent
a179a3fd00
commit
5ac895e4d7
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
@ -24,6 +24,12 @@ jobs:
|
||||||
env: PYTHONOPTIMIZE=2
|
env: PYTHONOPTIMIZE=2
|
||||||
- python-version: "3.6"
|
- python-version: "3.6"
|
||||||
env: PYTHONOPTIMIZE=1
|
env: PYTHONOPTIMIZE=1
|
||||||
|
# Include new variables for Codecov
|
||||||
|
- os: ubuntu-latest
|
||||||
|
codecov-flag: GHA_Ubuntu
|
||||||
|
- os: macOS-latest
|
||||||
|
codecov-flag: GHA_macOS
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
|
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
@ -97,5 +103,5 @@ jobs:
|
||||||
uses: codecov/codecov-action@v1
|
uses: codecov/codecov-action@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
flags: GHA
|
flags: ${{ matrix.codecov-flag }}
|
||||||
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
|
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user