File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 2929 username : ${{ secrets.GH_NAME }}
3030 password : ${{ secrets.GH_TOKEN }}
3131
32- - name : Build and test
32+ - name : Build
3333 run : bazel build --remote_header=x-buildbuddy-api-key=${{ secrets.BUILDBUDDY_TEST }} --remote_executor=grpcs://remote.buildbuddy.io --config=rbe //...
34+
35+ - name : Test
36+ run : bazel test --remote_header=x-buildbuddy-api-key=${{ secrets.BUILDBUDDY_TEST }} --remote_executor=grpcs://remote.buildbuddy.io --config=rbe //:standalone_test
Original file line number Diff line number Diff line change @@ -473,6 +473,16 @@ test_suite(
473473 ],
474474)
475475
476+ swift_cc_test (
477+ name = "standalone_test" ,
478+ srcs = ["tests/standalone_test.cc" ],
479+ includes = ["tests" ],
480+ local_defines = ["CSV_IO_NO_THREAD" ],
481+ type = UNIT ,
482+ deps = ["@gtest//:gtest_main" ],
483+ standard = 17 ,
484+ )
485+
476486platform (
477487 name = "docker_image_platform" ,
478488 constraint_values = [
Original file line number Diff line number Diff line change 1+ #include < gtest/gtest.h>
2+
3+ TEST (StandaloneTest, SampleTest) {
4+ EXPECT_EQ (1 + 1 , 2 );
5+ }
You can’t perform that action at this time.
0 commit comments