Skip to content

[CI] add integration test for the archive plugin #246

[CI] add integration test for the archive plugin

[CI] add integration test for the archive plugin #246

Workflow file for this run

name: PR
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
soundness:
name: Soundness
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
with:
license_header_check_project_name: "SwiftAWSLambdaRuntime"
shell_check_enabled: false
api_breakage_check_container_image: "swift:6.0-noble"
docs_check_container_image: "swift:6.0-noble"
format_check_container_image: "swiftlang/swift:nightly-6.0-jammy"
unit-tests:
name: Unit tests
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main
with:
linux_5_8_enabled: false
linux_5_9_enabled: false
linux_5_10_enabled: false
linux_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error"
linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error"
integration-tests:
name: Integration Tests
uses: ./.github/workflows/examples.yml

Check failure on line 30 in .github/workflows/pull_request.yml

View workflow run for this annotation

GitHub Actions / PR

Invalid workflow file

The workflow is not valid. In .github/workflows/pull_request.yml (Line: 30, Col: 11): Error from called workflow swift-server/swift-aws-lambda-runtime/.github/workflows/examples.yml@62fe000935ff28982b82fb2caf6b15aa99da18e8 (Line: 108, Col: 11): Unexpected value 'EXAMPLE=HelloWorld OUTPUT_FILE=.build/plugins/AWSLambdaPackager/outputs/AWSLambdaPackager/MyLambda/bootstrap ZIP_FILE=.build/plugins/AWSLambdaPackager/outputs/AWSLambdaPackager/MyLambda/MyLambda.zip'
with:
name: "Integration tests"
examples_enabled: true
# We should pass the list of examples here, but we can't pass an array as argument
# examples: [ "HelloWorld", "APIGateway" ]
matrix_linux_command: "LAMBDA_USE_LOCAL_DEPS=../.. swift build"
archive_plugin_enabled: true
swift-6-language-mode:
name: Swift 6 Language Mode
uses: apple/swift-nio/.github/workflows/swift_6_language_mode.yml@main