Merge pull request #406 from rosenbjerg/feat/only-upload-coverage-on-windows

Only upload to codecov on windows
This commit is contained in:
Malte Rosenbjerg 2023-02-21 17:44:26 +01:00 committed by GitHub
commit 2777cf73e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,8 @@ jobs:
- name: Test with dotnet
run: dotnet test FFMpegCore.sln --collect "XPlat Code Coverage" --logger GitHubActions
- name: Upload coverage reports to Codecov
- if: matrix.os == 'windows-latest'
name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
directory: FFMpegCore.Test/TestResults