Skip to content

Commit

Permalink
Merge pull request zowe#210 from zowe/dev/fix-codecov
Browse files Browse the repository at this point in the history
Reduce duplication of Codecov uploads
  • Loading branch information
t1m0thyj authored Aug 30, 2023
2 parents 4bc1a86 + d2518a0 commit d974779
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/sdk-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}

steps:
- uses: actions/checkout@v3
Expand All @@ -39,8 +42,10 @@ jobs:
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
if: ${{ matrix.python-version == '3.11' }}
with:
directory: ./
env_vars: OS,PYTHON
fail_ci_if_error: true
files: ./coverage.xml
flags: unittests
Expand Down

0 comments on commit d974779

Please sign in to comment.