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 @@ -530,6 +530,16 @@ test_suite(
530530 ],
531531)
532532
533+ swift_cc_test (
534+ name = "standalone_test" ,
535+ srcs = ["tests/standalone_test.cc" ],
536+ includes = ["tests" ],
537+ local_defines = ["CSV_IO_NO_THREAD" ],
538+ type = UNIT ,
539+ deps = ["@gtest//:gtest_main" ],
540+ standard = 17 ,
541+ )
542+
533543platform (
534544 name = "docker_image_platform" ,
535545 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