catapult-project / catapult

Deprecated Catapult GitHub. Please instead use http://crbug.com "Speed>Benchmarks" component for bugs and https://chromium.googlesource.com/catapult for downloading and editing source code..
https://chromium.googlesource.com/catapult
BSD 3-Clause "New" or "Revised" License
1.92k stars 564 forks source link

[wpr-go] Figure out a way to run Golang tests on build bot #3669

Open xunjieli opened 7 years ago

xunjieli commented 7 years ago

web_page_replay_go has a couple of tests (see proxy_test.go). We are adding more. We should figure out how to run these tests on catapult's buildbots.

xunjieli commented 7 years ago

/cc @nedn

nedn commented 7 years ago

@dpranke is it possible to install golang only on catapult bots?

dpranke commented 7 years ago

You should be able to configure your recipes and DEPS files to install whatever you like. I would talk to dnj, iannucci, or vadimsh about whether they have CIPD packages for go and/or how they want to build go code on the bots.

anniesullie commented 7 years ago

Our current documentation is pretty sparse, but at least the conventions and file locations are outlined: https://github.com/catapult-project/catapult/blob/master/docs/directory-structure.md#how-to-add-tests

iannucci consulted with us on setting up build_steps.py and might have thoughts on how to extend it to go tests.