[GHA] Introduce reusable matrix workflow #115
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}/ | |
" |