зеркало из https://github.com/github/codeql.git
Swift: fix wrongly exchanged action bodies
This commit is contained in:
Родитель
6ce6d9dc37
Коммит
bc65d358f2
|
@ -1,18 +1,16 @@
|
|||
name: Run Swift quick tests
|
||||
description: Runs Swift tests defined in Bazel. Must be run after `setup-env`
|
||||
name: Build Swift CodeQL pack
|
||||
description: Builds the Swift CodeQL pack
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Run xcode-autobuilder tests
|
||||
if: runner.os == 'macOS'
|
||||
- uses: ./swift/actions/setup-env
|
||||
- uses: ./swift/actions/share-extractor-pack
|
||||
- name: Build Swift extractor
|
||||
shell: bash
|
||||
run: |
|
||||
bazel test //swift/xcode-autobuilder/tests
|
||||
- name: Run codegen tests
|
||||
bazel run //swift:create-extractor-pack
|
||||
# running all small tests here to avoid spinning another runner and redoing bazel analysis
|
||||
- name: Run unit tests
|
||||
shell: bash
|
||||
run: |
|
||||
bazel test //swift/codegen/tests
|
||||
- name: Run qltest tests
|
||||
shell: bash
|
||||
run: |
|
||||
bazel test //swift/tools/test/qltest
|
||||
bazel test --test_filter=small --build_tests_only //swift/...
|
||||
|
|
|
@ -1,16 +1,18 @@
|
|||
name: Build Swift CodeQL pack
|
||||
description: Builds the Swift CodeQL pack
|
||||
name: Run Swift quick tests
|
||||
description: Runs Swift tests defined in Bazel. Must be run after `setup-env`
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- uses: ./swift/actions/setup-env
|
||||
- uses: ./swift/actions/share-extractor-pack
|
||||
- name: Build Swift extractor
|
||||
- name: Run xcode-autobuilder tests
|
||||
if: runner.os == 'macOS'
|
||||
shell: bash
|
||||
run: |
|
||||
bazel run //swift:create-extractor-pack
|
||||
# running all small tests here to avoid spinning another runner and redoing bazel analysis
|
||||
- name: Run unit tests
|
||||
bazel test //swift/xcode-autobuilder/tests
|
||||
- name: Run codegen tests
|
||||
shell: bash
|
||||
run: |
|
||||
bazel test --test_filter=small --build_tests_only //swift/...
|
||||
bazel test //swift/codegen/tests
|
||||
- name: Run qltest tests
|
||||
shell: bash
|
||||
run: |
|
||||
bazel test //swift/tools/test/qltest
|
||||
|
|
Загрузка…
Ссылка в новой задаче