Skip to content

Commit b3e29bd

Browse files
committed
Bazel: add --build_tests_only in swift CI
1 parent 07f4288 commit b3e29bd

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

swift/actions/build-and-test/action.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ runs:
4444
mkdir -p bazel-cache/{repository,disk}
4545
echo build --repository_cache=bazel-cache/repository --disk_cache=bazel-cache/disk > local.bazelrc
4646
echo test --test_output=errors >> local.bazelrc
47-
# - name: Print unextracted entities
48-
# shell: bash
49-
# run: |
50-
# bazel run //swift/extractor/print_unextracted
5147
- uses: ./swift/actions/share-extractor-pack
5248
- name: Build Swift extractor
5349
shell: bash
@@ -62,7 +58,7 @@ runs:
6258
if: ${{ github.event_name == 'pull_request' }}
6359
shell: bash
6460
run: |
65-
bazel test //swift/...
61+
bazel test --build_tests_only //swift/...
6662
- name: Evict bazel cache
6763
if: ${{ github.event_name != 'pull_request' }}
6864
shell: bash

0 commit comments

Comments
 (0)