Skip to content

Commit 5ac895e

Browse files
hugovkradarhere
authored andcommitted
Use different Codecov flags for GHA_Ubuntu and GHA_macOS
1 parent a179a3f commit 5ac895e

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ jobs:
2424
env: PYTHONOPTIMIZE=2
2525
- python-version: "3.6"
2626
env: PYTHONOPTIMIZE=1
27+
# Include new variables for Codecov
28+
- os: ubuntu-latest
29+
codecov-flag: GHA_Ubuntu
30+
- os: macOS-latest
31+
codecov-flag: GHA_macOS
32+
2733
runs-on: ${{ matrix.os }}
2834
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
2935

@@ -97,5 +103,5 @@ jobs:
97103
uses: codecov/codecov-action@v1
98104
with:
99105
token: ${{ secrets.CODECOV_TOKEN }}
100-
flags: GHA
106+
flags: ${{ matrix.codecov-flag }}
101107
name: ${{ matrix.os }} Python ${{ matrix.python-version }}

0 commit comments

Comments
 (0)