{"action":"opened","issue":{"url":"https://api.github.com/repos/Azure/azure-powershell/issues/4088","repository_url":"https://api.github.com/repos/Azure/azure-powershell","labels_url":"https://api.github.com/repos/Azure/azure-powershell/issues/4088/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-powershell/issues/4088/comments","events_url":"https://api.github.com/repos/Azure/azure-powershell/issues/4088/events","html_url":"https://github.com/Azure/azure-powershell/issues/4088","id":234057018,"number":4088,"title":"For changes that affect only one service, run tests that are related to that service.","user":{"login":"NelsonDaniel","id":13109662,"avatar_url":"https://avatars3.githubusercontent.com/u/13109662?v=3","gravatar_id":"","url":"https://api.github.com/users/NelsonDaniel","html_url":"https://github.com/NelsonDaniel","followers_url":"https://api.github.com/users/NelsonDaniel/followers","following_url":"https://api.github.com/users/NelsonDaniel/following{/other_user}","gists_url":"https://api.github.com/users/NelsonDaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/NelsonDaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NelsonDaniel/subscriptions","organizations_url":"https://api.github.com/users/NelsonDaniel/orgs","repos_url":"https://api.github.com/users/NelsonDaniel/repos","events_url":"https://api.github.com/users/NelsonDaniel/events{/privacy}","received_events_url":"https://api.github.com/users/NelsonDaniel/received_events","type":"User","site_admin":false},"labels":[{"id":187436091,"url":"https://api.github.com/repos/Azure/azure-powershell/labels/Team","name":"Team","color":"DDDDDD","default":false}],"state":"open","locked":false,"assignee":{"login":"NelsonDaniel","id":13109662,"avatar_url":"https://avatars3.githubusercontent.com/u/13109662?v=3","gravatar_id":"","url":"https://api.github.com/users/NelsonDaniel","html_url":"https://github.com/NelsonDaniel","followers_url":"https://api.github.com/users/NelsonDaniel/followers","following_url":"https://api.github.com/users/NelsonDaniel/following{/other_user}","gists_url":"https://api.github.com/users/NelsonDaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/NelsonDaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NelsonDaniel/subscriptions","organizations_url":"https://api.github.com/users/NelsonDaniel/orgs","repos_url":"https://api.github.com/users/NelsonDaniel/repos","events_url":"https://api.github.com/users/NelsonDaniel/events{/privacy}","received_events_url":"https://api.github.com/users/NelsonDaniel/received_events","type":"User","site_admin":false},"assignees":[{"login":"NelsonDaniel","id":13109662,"avatar_url":"https://avatars3.githubusercontent.com/u/13109662?v=3","gravatar_id":"","url":"https://api.github.com/users/NelsonDaniel","html_url":"https://github.com/NelsonDaniel","followers_url":"https://api.github.com/users/NelsonDaniel/followers","following_url":"https://api.github.com/users/NelsonDaniel/following{/other_user}","gists_url":"https://api.github.com/users/NelsonDaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/NelsonDaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NelsonDaniel/subscriptions","organizations_url":"https://api.github.com/users/NelsonDaniel/orgs","repos_url":"https://api.github.com/users/NelsonDaniel/repos","events_url":"https://api.github.com/users/NelsonDaniel/events{/privacy}","received_events_url":"https://api.github.com/users/NelsonDaniel/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Azure/azure-powershell/milestones/23","html_url":"https://github.com/Azure/azure-powershell/milestone/23","labels_url":"https://api.github.com/repos/Azure/azure-powershell/milestones/23/labels","id":2440127,"number":23,"title":"July 2017","description":"Code Complete 6/28; Shipping 7/5","creator":{"login":"markcowl","id":1054056,"avatar_url":"https://avatars2.githubusercontent.com/u/1054056?v=3","gravatar_id":"","url":"https://api.github.com/users/markcowl","html_url":"https://github.com/markcowl","followers_url":"https://api.github.com/users/markcowl/followers","following_url":"https://api.github.com/users/markcowl/following{/other_user}","gists_url":"https://api.github.com/users/markcowl/gists{/gist_id}","starred_url":"https://api.github.com/users/markcowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markcowl/subscriptions","organizations_url":"https://api.github.com/users/markcowl/orgs","repos_url":"https://api.github.com/users/markcowl/repos","events_url":"https://api.github.com/users/markcowl/events{/privacy}","received_events_url":"https://api.github.com/users/markcowl/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":0,"state":"open","created_at":"2017-04-06T17:30:32Z","updated_at":"2017-06-07T00:07:32Z","due_on":"2017-06-28T07:00:00Z","closed_at":null},"comments":0,"created_at":"2017-06-07T00:07:32Z","updated_at":"2017-06-07T00:07:32Z","closed_at":null,"body":"### Description\r\n\r\nCurrently the PowerShell CI job runs all tests for every check-in. For changes that affect only one service run only the test for that service. This should improve the performance of testing.\r\n\r\n- First we need to figure out what are the paths/files that are being changed.\r\n- Then, we need to find the service associated with the paths that were changed.\r\n  - The mappings between the services and the paths should be easily extensible when new services are added.\r\n- Finally, run only the tests associated with the service.\r\n- Verification\r\n- [ ] Change to one folder in the list results for one service running.\r\n- [ ] Change to one folder outside the list results into all tests running.\r\n- [ ] Changes to multiple folders result into all tests running.\r\n- [ ] Documentation for adding a new service to the mapping.\r\n\r\n### Cost\r\n\r\n10\r\n"}}
{"actor":{"display_login":"NelsonDaniel"}}