Skip to content

Commit 8db945a

Browse files
committed
Swift: Use ... to find and run all Bazel tests instead of having to list them.
1 parent 167a572 commit 8db945a

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

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

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,21 +53,16 @@ runs:
5353
shell: bash
5454
run: |
5555
bazel run //swift:create-extractor-pack
56-
- name: Run xcode-autobuilder tests
57-
if : ${{ github.event_name == 'pull_request' && runner.os == 'macOS' }}
58-
shell: bash
59-
run: |
60-
bazel test //swift/xcode-autobuilder/tests
6156
- name: Run codegen tests
6257
if : ${{ github.event_name == 'pull_request' }}
6358
shell: bash
6459
run: |
65-
bazel test //misc/codegen/test
66-
- name: Run qltest tests
67-
if : ${{ github.event_name == 'pull_request' }}
60+
bazel test //misc/codegen/...
61+
- name: Run Swift tests
62+
if: ${{ github.event_name == 'pull_request' }}
6863
shell: bash
6964
run: |
70-
bazel test //swift/tools/test/qltest
65+
bazel test //swift/...
7166
- name: Evict bazel cache
7267
if: ${{ github.event_name != 'pull_request' }}
7368
shell: bash

0 commit comments

Comments
 (0)