{"action":"closed","issue":{"url":"https://api.github.com/repos/karma-runner/karma-coverage/issues/61","labels_url":"https://api.github.com/repos/karma-runner/karma-coverage/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/karma-runner/karma-coverage/issues/61/comments","events_url":"https://api.github.com/repos/karma-runner/karma-coverage/issues/61/events","html_url":"https://github.com/karma-runner/karma-coverage/issues/61","id":28004891,"number":61,"title":"lcov report built into a folder name that changes per environment","user":{"login":"SimplGy","id":548809,"avatar_url":"https://avatars.githubusercontent.com/u/548809?v=3","gravatar_id":"","url":"https://api.github.com/users/SimplGy","html_url":"https://github.com/SimplGy","followers_url":"https://api.github.com/users/SimplGy/followers","following_url":"https://api.github.com/users/SimplGy/following{/other_user}","gists_url":"https://api.github.com/users/SimplGy/gists{/gist_id}","starred_url":"https://api.github.com/users/SimplGy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimplGy/subscriptions","organizations_url":"https://api.github.com/users/SimplGy/orgs","repos_url":"https://api.github.com/users/SimplGy/repos","events_url":"https://api.github.com/users/SimplGy/events{/privacy}","received_events_url":"https://api.github.com/users/SimplGy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-02-20T23:08:03Z","updated_at":"2015-06-09T15:32:54Z","closed_at":"2015-06-09T15:32:54Z","body":"Coverage builds into a directory that includes the name of the browser and the OS. This makes it nondeterministic.\r\n\r\nWith these options:\r\n\r\n    coverageReporter: # https://github.com/karma-runner/karma-coverage\r\n      reporters: [\r\n        {\r\n          type: 'text-summary'\r\n        }\r\n        {\r\n          type: 'lcov'\r\n        }\r\n      ]\r\n      dir: '../.tmp/coverage'\r\n\r\nThe coverage output goes to:\r\n\r\n    .tmp/coverage/PahtomJS 1.9.2 (Mac OS X)/lcov-report\r\n\r\nIf my dev environment is osx and my CI environment is Unix, the coverage report will be in a different place, making it difficult to automate around. (in my case I want to have the build system put it in a central location so the CI server has a coverage report in a fixed location every build)\r\n\r\nIs the changing folder name intentional? Is there a way around this, either by locking down the folder name or by pulling the calculated name out of a variable and passing it to the build system?"}}