|
1 | 1 | name: Pull Request
|
2 | 2 |
|
3 | 3 | on:
|
4 |
| - pull_request: |
5 |
| - types: [opened, reopened, synchronize] |
| 4 | + pull_request: |
| 5 | + types: [opened, reopened, synchronize] |
6 | 6 |
|
7 | 7 | jobs:
|
8 |
| - call-pull-request-soundness-workflow: |
9 |
| - name: Soundness |
10 |
| - uses: ./.github/workflows/pull_request_soundness.yml |
11 |
| - with: |
12 |
| - license_header_check_project_name: "SwiftNIO" |
| 8 | + soundness: |
| 9 | + name: Soundness |
| 10 | + uses: ./.github/workflows/soundness.yml |
| 11 | + with: |
| 12 | + license_header_check_project_name: "SwiftNIO" |
13 | 13 |
|
14 |
| - call-pull-request-unit-tests-workflow: |
15 |
| - name: Unit tests |
16 |
| - uses: ./.github/workflows/pull_request_swift_matrix.yml |
17 |
| - with: |
18 |
| - name: "Unit tests" |
19 |
| - matrix_linux_command: "swift test -Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error" |
20 |
| - # Disable warnings as errors: Swift 6 emits sendability warnings that haven't been dealt with yet. |
21 |
| - matrix_linux_nightly_main_command_override: "swift test --explicit-target-dependency-import-check error" |
22 |
| - matrix_linux_nightly_6_0_command_override: "swift test --explicit-target-dependency-import-check error" |
| 14 | + unit-tests: |
| 15 | + name: Checks |
| 16 | + uses: ./.github/workflows/unit_tests.yml |
| 17 | + with: |
| 18 | + linux_5_8_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error" |
| 19 | + linux_5_9_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error" |
| 20 | + linux_5_10_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error" |
| 21 | + linux_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error" |
| 22 | + linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error" |
23 | 23 |
|
24 |
| - call-pull-request-benchmark-workflow: |
25 |
| - name: Benchmarks |
26 |
| - uses: ./.github/workflows/pull_request_swift_matrix.yml |
27 |
| - with: |
28 |
| - name: "Benchmarks" |
29 |
| - matrix_linux_command: "apt-get update -y -q && apt-get install -y -q libjemalloc-dev && swift package --package-path Benchmarks/ --disable-sandbox benchmark baseline check --check-absolute-path Benchmarks/Thresholds/${SWIFT_VERSION}/" |
| 24 | + benchmarks: |
| 25 | + name: Checks |
| 26 | + uses: ./.github/workflows/benchmarks.yml |
| 27 | + with: |
| 28 | + benchmark_package_path: "Benchmarks" |
30 | 29 |
|
31 |
| - call-pull-request-cxx-interop-workflow: |
32 |
| - name: Cxx interop |
33 |
| - uses: ./.github/workflows/pull_request_swift_matrix.yml |
34 |
| - with: |
35 |
| - name: "Cxx interop" |
36 |
| - matrix_linux_command: "apt-get update -y -q && apt-get install -y -q jq && ./scripts/check-cxx-interop-compatibility.sh" |
| 30 | + cxx-interop: |
| 31 | + name: Checks |
| 32 | + uses: ./.github/workflows/cxx_interop.yml |
37 | 33 |
|
38 |
| - call-pull-request-integration-tests-workflow: |
39 |
| - name: Integration tests |
40 |
| - uses: ./.github/workflows/pull_request_swift_matrix.yml |
41 |
| - with: |
42 |
| - name: "Integration tests" |
43 |
| - matrix_linux_command: "apt-get update -y -q && apt-get install -y -q lsof dnsutils netcat-openbsd net-tools curl jq && ./scripts/integration_tests.sh" |
| 34 | + integration-tests: |
| 35 | + name: Checks / Integration Tests |
| 36 | + uses: ./.github/workflows/swift_matrix.yml |
| 37 | + with: |
| 38 | + name: "Integration tests" |
| 39 | + matrix_linux_command: "apt-get update -y -q && apt-get install -y -q lsof dnsutils netcat-openbsd net-tools curl jq && ./scripts/integration_tests.sh" |
0 commit comments