diff --git a/appveyor.yml b/appveyor.yml index af640221b..10dfecfc6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -29,7 +29,7 @@ before_build: - cmd: nuget restore - cmd: choco install opencover.portable - cmd: choco install codecov -- cmd: curl -L https://github.com/codacy/codacy-coverage-reporter/releases/download/7.7.0/codacy-coverage-reporter-assembly-7.7.0.jar > ./codacy-test-reporter.jar +- cmd: curl -L https://github.com/codacy/codacy-coverage-reporter/releases/download/11.2.3/codacy-coverage-reporter-assembly-11.2.3.jar > ./codacy-test-reporter.jar - cmd: dotnet tool install --global dotnet-sonarscanner build: @@ -54,6 +54,8 @@ build_script: /p:CollectCoverage=true /p:CoverletOutputFormat="opencover" - codecov -f "%CD%\Tests\%SOLUTION_NAME%.Tests\coverage.opencover.xml" +- SET JAVA_HOME=C:\Program Files\Java\jdk11 +- SET PATH=%JAVA_HOME%\bin;%PATH% - java -jar ./codacy-test-reporter.jar report