Skip to content

Commit

Permalink
ci: fix test error at release action
Browse files Browse the repository at this point in the history
Signed-off-by: Sagilio <Sagilio@outlook.com>
  • Loading branch information
sagilio committed Feb 23, 2022
1 parent 1dc6440 commit 9f93722
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ jobs:
run: dotnet build -c Release --no-restore

- name: Test solution
run: dotnet test -c Release --no-build --no-restore --verbosity normal -r test-results --collect:"XPlat Code Coverage" `
run: dotnet test -c Release --no-build --no-restore --verbosity normal --results-directory test-results --collect:"XPlat Code Coverage" `
-- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=json,cobertura,lcov,teamcity,opencover

- name: Upload coverage
run: |
dotnet tool install coveralls.net --version 2.0.0-beta0002 --tool-path tools;
dotnet tool install coveralls.net --version 3.0.0 --tool-path tools;
$CommitAuthor = git show -s --pretty=format:"%cn";
echo "Coomit author is: $CommitAuthor";
$CommitAuthorEmail = git show -s --pretty=format:"%ce";
Expand Down

0 comments on commit 9f93722

Please sign in to comment.