{"action":"created","issue":{"url":"https://api.github.com/repos/CityOfZion/neo-go/issues/28","repository_url":"https://api.github.com/repos/CityOfZion/neo-go","labels_url":"https://api.github.com/repos/CityOfZion/neo-go/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/CityOfZion/neo-go/issues/28/comments","events_url":"https://api.github.com/repos/CityOfZion/neo-go/issues/28/events","html_url":"https://github.com/CityOfZion/neo-go/issues/28","id":299923694,"number":28,"title":"Circleci failing to resolve dependency when import tests are active","user":{"login":"anthdm","id":4670056,"avatar_url":"https://avatars0.githubusercontent.com/u/4670056?v=4","gravatar_id":"","url":"https://api.github.com/users/anthdm","html_url":"https://github.com/anthdm","followers_url":"https://api.github.com/users/anthdm/followers","following_url":"https://api.github.com/users/anthdm/following{/other_user}","gists_url":"https://api.github.com/users/anthdm/gists{/gist_id}","starred_url":"https://api.github.com/users/anthdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthdm/subscriptions","organizations_url":"https://api.github.com/users/anthdm/orgs","repos_url":"https://api.github.com/users/anthdm/repos","events_url":"https://api.github.com/users/anthdm/events{/privacy}","received_events_url":"https://api.github.com/users/anthdm/received_events","type":"User","site_admin":false},"labels":[{"id":846931416,"url":"https://api.github.com/repos/CityOfZion/neo-go/labels/Help%20wanted","name":"Help wanted","color":"ffa13d","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-24T08:26:05Z","updated_at":"2018-02-24T18:33:31Z","closed_at":null,"author_association":"COLLABORATOR","body":"If I uncomment the import tests, Circleci is faling to resolve the dependency to `github.com/CityOfZion/neo-go/pgk/vm/compiler/tests/foo`\r\n\r\n<img width=\"1261\" alt=\"schermafbeelding 2018-02-24 om 09 21 45\" src=\"https://user-images.githubusercontent.com/4670056/36627516-4ea66360-1944-11e8-9b98-0fae0d594857.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/CityOfZion/neo-go/issues/comments/368249291","html_url":"https://github.com/CityOfZion/neo-go/issues/28#issuecomment-368249291","issue_url":"https://api.github.com/repos/CityOfZion/neo-go/issues/28","id":368249291,"user":{"login":"anthdm","id":4670056,"avatar_url":"https://avatars0.githubusercontent.com/u/4670056?v=4","gravatar_id":"","url":"https://api.github.com/users/anthdm","html_url":"https://github.com/anthdm","followers_url":"https://api.github.com/users/anthdm/followers","following_url":"https://api.github.com/users/anthdm/following{/other_user}","gists_url":"https://api.github.com/users/anthdm/gists{/gist_id}","starred_url":"https://api.github.com/users/anthdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthdm/subscriptions","organizations_url":"https://api.github.com/users/anthdm/orgs","repos_url":"https://api.github.com/users/anthdm/repos","events_url":"https://api.github.com/users/anthdm/events{/privacy}","received_events_url":"https://api.github.com/users/anthdm/received_events","type":"User","site_admin":false},"created_at":"2018-02-24T18:33:31Z","updated_at":"2018-02-24T18:33:31Z","author_association":"COLLABORATOR","body":"After some reading through a whole lot of Go's internal documentation, I found why this error occurs. This has nothing to do with CircleCI neither with dependencies. The default importer the compiler is using to resolve package imports cannot resolve \"github.com\" paths. A very good document for this can be found [here](https://github.com/golang/example/tree/master/gotypes).\r\n\r\nI'm currently working on a refactoring on how to the compiler imports and resolves the initial smart contract file and all its imported packages."}}
{"actor":{"display_login":"anthdm"}}