Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Integ tests for python 3.8 and 3.9 runtimes #829

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: Python-3.11 Layer Integration Test
# This workflow is for verifying python3.11 layer in Lambda python3.8 environment
name: Lambda Layer python3.[8,9,10] runtime Integration Test
# This workflow is for verifying ADOT Python Lambda layer in Lambda Python3.[8,9,10] runtimes environment
on:
push:
branches:
- main
- release/*
paths-ignore:
- '.github/**'
- '!.github/workflows/main-build-python311.yml'
- '!.github/workflows/main-build-python.yml'
- '**.md'
workflow_dispatch:

concurrency:
group: main-build-python311-${{ github.ref_name }}
group: main-build-python3.[8,9,10]-${{ github.ref_name }}
cancel-in-progress: true


Expand All @@ -22,11 +22,12 @@ permissions:
jobs:
integration-test:
runs-on: ubuntu-20.04
name: Python311-${{ matrix.architecture }}-IntegrationTest
name: ${{ matrix.runtime }}-${{ matrix.architecture }}-IntegrationTest
strategy:
fail-fast: false
matrix:
architecture: [ amd64, arm64 ]
runtime: ["python3.8", "python3.9", "python3.10"]
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -86,7 +87,7 @@ jobs:
TF_VAR_sdk_layer_name: opentelemetry-python-aws-sdk-wrapper-${{ matrix.architecture }}
TF_VAR_function_name: ${{ env.TERRAFORM_LAMBDA_FUNCTION_NAME }}
TF_VAR_architecture: ${{ env.LAMBDA_FUNCTION_ARCH }}
TF_VAR_runtime: 'python3.11'
TF_VAR_runtime: ${{ matrix.runtime }}
- name: Extract endpoint
id: extract-endpoint
run: terraform output -raw api-gateway-url
Expand Down
2 changes: 1 addition & 1 deletion python/integration-tests/aws-sdk/wrapper/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ variable "architecture" {
variable "runtime" {
type = string
description = "Python runtime version used for sample Lambda Function"
default = "python3.10"
default = "python3.11"
}

variable "tracing_mode" {
Expand Down
Loading