Skip to content

✨ feature: Codecov - Compare Actor for Upload #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/ct-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
# Skip: README, CHANGELOG, LICENSE, THIRD-PARTY-LICENSES, .gitignore, GitHub Workflows & Actions, etc.
- name: Check for Changes to Determine if Tests can be Skipped
id: getChanges
uses: tj-actions/changed-files@v45.0.3
uses: tj-actions/changed-files@v45.0.4
with:
files_ignore: |
README.md
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
dotnet-version: ${{ matrix.dotnet-version }}

- name: Setup NuGet
uses: NuGet/setup-nuget@v2.0.0
uses: NuGet/setup-nuget@v2.0.1

- name: Restore NuGet
run: nuget restore
Expand Down Expand Up @@ -144,9 +144,10 @@ jobs:
####################################################################################################
### Code Coverage ###
####################################################################################################
- name: Upload Results to Codecov (Optional)
if: ${{ !fromJSON(steps.getCanSkip.outputs.result) }}
uses: codecov/codecov-action@v4
# Upload results to codecov if the actor is the repository owner
- name: Upload Results to Codecov (Optional) [${{ github.actor }}]
if: ${{ !fromJSON(steps.getCanSkip.outputs.result) && github.actor == 'TylerCarrol' }}
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: "**/TestResults/**/coverage.cobertura.xml"
Expand Down
Loading