From 8cb22455c7d095a8d654b14e32f67f5d7c8264dc Mon Sep 17 00:00:00 2001 From: Ping Xiang <64551395+pxaws@users.noreply.github.com> Date: Fri, 25 Oct 2024 10:01:34 -0700 Subject: [PATCH] add tests for different node version and arm cpu architecture (#109) add tests for different node version and arm cpu architecture *Issue #, if available:* *Description of changes:* Add tests to main build workflow: * different node version (14, 16, 18, 20, 22) * arm cpu architecture By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. --- .../application-signals-e2e-test.yml | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.github/workflows/application-signals-e2e-test.yml b/.github/workflows/application-signals-e2e-test.yml index cef53ac..0c4a27c 100644 --- a/.github/workflows/application-signals-e2e-test.yml +++ b/.github/workflows/application-signals-e2e-test.yml @@ -58,7 +58,32 @@ jobs: aws-region: us-east-1 staging-instrumentation-name: ${{ inputs.staging-instrumentation-name }} caller-workflow-name: 'main-build' - + + ec2-different-node-version: + strategy: + fail-fast: false + matrix: + node-version: [ '14', '16', '18', '20', '22' ] + needs: [ upload-main-build ] + uses: aws-observability/aws-application-signals-test-framework/.github/workflows/node-ec2-default-test.yml@main + secrets: inherit + with: + aws-region: 'us-east-1' + staging-instrumentation-name: ${{ inputs.staging-instrumentation-name }} + node-version: ${{ matrix.node-version }} + cpu-architecture: 'x86_64' + caller-workflow-name: 'main-build' + + ec2-arm64-cpu-architecture: + needs: [ upload-main-build ] + uses: aws-observability/aws-application-signals-test-framework/.github/workflows/node-ec2-default-test.yml@main + secrets: inherit + with: + aws-region: 'us-east-1' + staging-instrumentation-name: ${{ inputs.staging-instrumentation-name }} + cpu-architecture: 'arm64' + caller-workflow-name: 'main-build' + eks: uses: aws-observability/aws-application-signals-test-framework/.github/workflows/node-eks-test.yml@main secrets: inherit