Merge pull request #13169 from github/sashabu/swift-tests

Swift: Use `...` to find and run all Bazel tests instead of having list them.
This commit is contained in:
Alexandre Boulgakov
2023-05-16 14:20:03 +01:00
committed by GitHub

View File

@@ -53,21 +53,16 @@ runs:
shell: bash
run: |
bazel run //swift:create-extractor-pack
- name: Run xcode-autobuilder tests
if : ${{ github.event_name == 'pull_request' && runner.os == 'macOS' }}
shell: bash
run: |
bazel test //swift/xcode-autobuilder/tests
- name: Run codegen tests
if : ${{ github.event_name == 'pull_request' }}
shell: bash
run: |
bazel test //misc/codegen/test
- name: Run qltest tests
if : ${{ github.event_name == 'pull_request' }}
bazel test //misc/codegen/...
- name: Run Swift tests
if: ${{ github.event_name == 'pull_request' }}
shell: bash
run: |
bazel test //swift/tools/test/qltest
bazel test //swift/...
- name: Evict bazel cache
if: ${{ github.event_name != 'pull_request' }}
shell: bash