зеркало из https://github.com/github/codeql.git
Bazel: move `--build_tests_only` from swift action to `.bazelrc`
This commit is contained in:
Родитель
3f19974bb6
Коммит
bfc37fddff
3
.bazelrc
3
.bazelrc
|
@ -10,6 +10,9 @@ common --override_module=semmle_code=%workspace%/misc/bazel/semmle_code_stub
|
|||
|
||||
build --repo_env=CC=clang --repo_env=CXX=clang++
|
||||
|
||||
# we use transitions that break builds of `...`, so for `test` to work with that we need the following
|
||||
test --build_tests_only
|
||||
|
||||
# this requires developer mode, but is required to have pack installer functioning
|
||||
startup --windows_enable_symlinks
|
||||
common --enable_runfiles
|
||||
|
|
|
@ -58,7 +58,7 @@ runs:
|
|||
if: ${{ github.event_name == 'pull_request' }}
|
||||
shell: bash
|
||||
run: |
|
||||
bazel test --build_tests_only //swift/...
|
||||
bazel test //swift/...
|
||||
- name: Evict bazel cache
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
shell: bash
|
||||
|
|
Загрузка…
Ссылка в новой задаче