mirror of
https://github.com/apple/swift-nio
synced 2026-11-27 05:04:22 +00:00
# Motivation Another reusable check is to make sure that all library products of a package are successfully building when consumed from a module that has Cxx interoperability enabled. Another check that's missing is running the integration tests. # Modification This PR adds two new checks to the reusable workflow. One to check for Cxx interoperability compatibility and another one to run the integration tests. I also fixed a misalgined name for the nightly benchmarks. # Result This should be one of the last reusable workflow checks.
42 lines
1.6 KiB
YAML
42 lines
1.6 KiB
YAML
name: Pull Request
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, reopened, synchronize, ready_for_review]
|
|
|
|
jobs:
|
|
call-pull-request-soundness-workflow:
|
|
name: Soundness
|
|
uses: ./.github/workflows/pull_request_soundness.yml
|
|
with:
|
|
license_header_check_project_name: "SwiftNIO"
|
|
format_check_enabled: false
|
|
|
|
call-pull-request-unit-tests-workflow:
|
|
name: Unit tests
|
|
uses: ./.github/workflows/pull_request_swift_matrix.yml
|
|
with:
|
|
name: "Unit tests"
|
|
matrix_linux_command: "swift test -Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error"
|
|
|
|
call-pull-request-benchmark-workflow:
|
|
name: Benchmarks
|
|
uses: ./.github/workflows/pull_request_swift_matrix.yml
|
|
with:
|
|
name: "Benchmarks"
|
|
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}/"
|
|
|
|
call-pull-request-cxx-interop-workflow:
|
|
name: Cxx interop
|
|
uses: ./.github/workflows/pull_request_swift_matrix.yml
|
|
with:
|
|
name: "Cxx interop"
|
|
matrix_linux_command: "apt-get update -y -q && apt-get install -y -q jq && ./scripts/check-cxx-interop-compatibility.sh"
|
|
|
|
call-pull-request-integration-tests-workflow:
|
|
name: Integration tests
|
|
uses: ./.github/workflows/pull_request_swift_matrix.yml
|
|
with:
|
|
name: "Integration tests"
|
|
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"
|