mirror of
https://github.com/github/codeql.git
synced 2026-04-22 23:35:14 +02:00
Bazel: add --build_tests_only in swift CI
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user