cake-contrib / Cake.Karma

Cake addin for running Karma
https://cakebuild.net/extensions/cake-karma
MIT License
1 stars 8 forks source link

changed the logic when exist settings.workingdirectory #9

Open jfernandeze opened 6 years ago

jfernandeze commented 6 years ago

Now you can, for example, use this configuration:

var settings = new KarmaStartSettings
{
   ConfigFile = "ClientApp/test/karma.conf.js",                       
   RunMode = KarmaRunMode.Local,
   WorkingDirectory = "src/Webs/WebSpa"
 };
jfernandeze commented 6 years ago

I've an error in the check...

2018-01-09 12:02:51 [Information] query: https://codecov.io/upload/v4?branch=develop&commit=7b0c81bca804900b00c18bc461d598191be414ba&build=9tch9g658lby8wq5&tag=&pr=9&name=&flags=&slug=cake-contrib%2FCake.Karma&token=&package=exe-1.0.1&build_url=&yaml=&job=cakecontrib%2Fcake-karma%2F0.2.0-PullRequest.9%2B5.build.15&service=appveyor 2018-01-09 12:02:51 [Information] Pinging Codecov 2018-01-09 12:02:52 [Fatal] One or more errors occurred. (The remote server returned an error: (404) Not Found.) at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at Codecov.Upload.Upload.Uploader() in C:\Users\Administrator\github\codecov-exe\Source\Codecov\Upload\Upload.cs:line 34 at Codecov.Program.UploadFacade.Uploader() in C:\Users\Administrator\github\codecov-exe\Source\Codecov\Program\UploadFacade.cs:line 119 at Codecov.Program.Run.Runner(IEnumerable1 args) in C:\Users\Administrator\github\codecov-exe\Source\Codecov\Program\Run.cs:line 20 Cake.exe : An error occurred when executing task "Upload-Codecov-Report". At line:1 char:1 & "C:\projects\cake-karma\tools\Cake\Cake.exe" "setup.cake" -target=" ...

 CategoryInfo          : NotSpecified: (An error occurr...odecov-Report'.:String) [], RemoteException
 FullyQualifiedErrorId : NativeCommandError

Codecov: Process returned an error (exit code 1). Upload-Codecov-Report Task failed, but continuing with next Task...

Upload-Coverage-Report

gep13 commented 5 years ago

Relates to #7