{"action":"created","issue":{"url":"https://api.github.com/repos/PowerShell/Plaster/issues/126","repository_url":"https://api.github.com/repos/PowerShell/Plaster","labels_url":"https://api.github.com/repos/PowerShell/Plaster/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/Plaster/issues/126/comments","events_url":"https://api.github.com/repos/PowerShell/Plaster/issues/126/events","html_url":"https://github.com/PowerShell/Plaster/pull/126","id":178461167,"number":126,"title":"Failing tests should stop build when publishing","user":{"login":"davegreen","id":759393,"avatar_url":"https://avatars.githubusercontent.com/u/759393?v=3","gravatar_id":"","url":"https://api.github.com/users/davegreen","html_url":"https://github.com/davegreen","followers_url":"https://api.github.com/users/davegreen/followers","following_url":"https://api.github.com/users/davegreen/following{/other_user}","gists_url":"https://api.github.com/users/davegreen/gists{/gist_id}","starred_url":"https://api.github.com/users/davegreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davegreen/subscriptions","organizations_url":"https://api.github.com/users/davegreen/orgs","repos_url":"https://api.github.com/users/davegreen/repos","events_url":"https://api.github.com/users/davegreen/events{/privacy}","received_events_url":"https://api.github.com/users/davegreen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PowerShell/Plaster/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-21T21:00:36Z","updated_at":"2016-09-21T22:13:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PowerShell/Plaster/pulls/126","html_url":"https://github.com/PowerShell/Plaster/pull/126","diff_url":"https://github.com/PowerShell/Plaster/pull/126.diff","patch_url":"https://github.com/PowerShell/Plaster/pull/126.patch"},"body":"If psake is called with the publish task and one or more tests fail, an exception will be generated to abort the build and prevent the publish from occurring. As per #123 "},"comment":{"url":"https://api.github.com/repos/PowerShell/Plaster/issues/comments/248758618","html_url":"https://github.com/PowerShell/Plaster/pull/126#issuecomment-248758618","issue_url":"https://api.github.com/repos/PowerShell/Plaster/issues/126","id":248758618,"user":{"login":"daviwil","id":79405,"avatar_url":"https://avatars.githubusercontent.com/u/79405?v=3","gravatar_id":"","url":"https://api.github.com/users/daviwil","html_url":"https://github.com/daviwil","followers_url":"https://api.github.com/users/daviwil/followers","following_url":"https://api.github.com/users/daviwil/following{/other_user}","gists_url":"https://api.github.com/users/daviwil/gists{/gist_id}","starred_url":"https://api.github.com/users/daviwil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviwil/subscriptions","organizations_url":"https://api.github.com/users/daviwil/orgs","repos_url":"https://api.github.com/users/daviwil/repos","events_url":"https://api.github.com/users/daviwil/events{/privacy}","received_events_url":"https://api.github.com/users/daviwil/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T22:13:52Z","updated_at":"2016-09-21T22:13:52Z","body":"Now that I'm trying to get the AppVeyor build going, I can't see any reason why the `Test` task shouldn't fail when any Pester test fails.  Based on the changes in this PR, If I invoke psake with only the `Test` task selected, psake will still report that the build succeeded even if Pester tests have failed.\r\n\r\nI'd recommend taking out the `Publish` task check and just make the `Test` task fail if any tests failed.  Also change the task dependency for `Install` to `Build`.  What do you think, @rkeithhill?"}}
{"actor":{"display_login":"daviwil"}}