Skip to content

Commit ff96a11

Browse files
tigrannajaryanPaulo Janotti
authored and
Paulo Janotti
committed
Add end-to-end test execution to Continuous Integration (#54)
- Now end-to-end tests from the Testbed are executed as part of CirleCI build. - Test summary are published in CircleCI using JUnit format. - All test result files (e.g. logs) are published as CircleCO artifacts.
1 parent 9c4bd8e commit ff96a11

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.circleci/config.yml

+4
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ jobs:
1616
- run:
1717
name: Verify
1818
command: make ci
19+
- store_artifacts:
20+
path: testbed/tests/results
21+
- store_test_results:
22+
path: testbed/tests/results/junit

Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ e2e-test: otelcontribcol
2121

2222
.PHONY: ci
2323
ci: all test-with-cover
24+
$(MAKE) -C testbed install-tools
25+
$(MAKE) -C testbed runtests
2426

2527
.PHONY: test-with-cover
2628
test-with-cover:

testbed/go.sum

+1
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ github.com/json-iterator/go v0.0.0-20180612202835-f2b4162afba3/go.mod h1:+SdeFBv
291291
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
292292
github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
293293
github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
294+
github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024 h1:rBMNdlhTLzJjJSDIjNEXX1Pz3Hmwmz91v+zycvx9PJc=
294295
github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
295296
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
296297
github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q=

0 commit comments

Comments
 (0)