Skip to content

Commit bc65d35

Browse files
committed
Swift: fix wrongly exchanged action bodies
1 parent 6ce6d9d commit bc65d35

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed
Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
name: Run Swift quick tests
2-
description: Runs Swift tests defined in Bazel. Must be run after `setup-env`
1+
name: Build Swift CodeQL pack
2+
description: Builds the Swift CodeQL pack
33
runs:
44
using: composite
55
steps:
6-
- name: Run xcode-autobuilder tests
7-
if: runner.os == 'macOS'
6+
- uses: ./swift/actions/setup-env
7+
- uses: ./swift/actions/share-extractor-pack
8+
- name: Build Swift extractor
89
shell: bash
910
run: |
10-
bazel test //swift/xcode-autobuilder/tests
11-
- name: Run codegen tests
11+
bazel run //swift:create-extractor-pack
12+
# running all small tests here to avoid spinning another runner and redoing bazel analysis
13+
- name: Run unit tests
1214
shell: bash
1315
run: |
14-
bazel test //swift/codegen/tests
15-
- name: Run qltest tests
16-
shell: bash
17-
run: |
18-
bazel test //swift/tools/test/qltest
16+
bazel test --test_filter=small --build_tests_only //swift/...
Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1-
name: Build Swift CodeQL pack
2-
description: Builds the Swift CodeQL pack
1+
name: Run Swift quick tests
2+
description: Runs Swift tests defined in Bazel. Must be run after `setup-env`
33
runs:
44
using: composite
55
steps:
6-
- uses: ./swift/actions/setup-env
7-
- uses: ./swift/actions/share-extractor-pack
8-
- name: Build Swift extractor
6+
- name: Run xcode-autobuilder tests
7+
if: runner.os == 'macOS'
98
shell: bash
109
run: |
11-
bazel run //swift:create-extractor-pack
12-
# running all small tests here to avoid spinning another runner and redoing bazel analysis
13-
- name: Run unit tests
10+
bazel test //swift/xcode-autobuilder/tests
11+
- name: Run codegen tests
1412
shell: bash
1513
run: |
16-
bazel test --test_filter=small --build_tests_only //swift/...
14+
bazel test //swift/codegen/tests
15+
- name: Run qltest tests
16+
shell: bash
17+
run: |
18+
bazel test //swift/tools/test/qltest

0 commit comments

Comments
 (0)