Skip to content

Commit

Permalink
Bazel: add --build_tests_only in swift CI
Browse files Browse the repository at this point in the history
  • Loading branch information
redsun82 committed May 31, 2024
1 parent 07f4288 commit b3e29bd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions swift/actions/build-and-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ runs:
mkdir -p bazel-cache/{repository,disk}
echo build --repository_cache=bazel-cache/repository --disk_cache=bazel-cache/disk > local.bazelrc
echo test --test_output=errors >> local.bazelrc
# - name: Print unextracted entities
# shell: bash
# run: |
# bazel run //swift/extractor/print_unextracted
- uses: ./swift/actions/share-extractor-pack
- name: Build Swift extractor
shell: bash
Expand All @@ -62,7 +58,7 @@ runs:
if: ${{ github.event_name == 'pull_request' }}
shell: bash
run: |
bazel test //swift/...
bazel test --build_tests_only //swift/...
- name: Evict bazel cache
if: ${{ github.event_name != 'pull_request' }}
shell: bash
Expand Down

0 comments on commit b3e29bd

Please sign in to comment.