Skip to content

Commit 8cb2245

Browse files
authored
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.
1 parent 901a357 commit 8cb2245

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

.github/workflows/application-signals-e2e-test.yml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,32 @@ jobs:
5858
aws-region: us-east-1
5959
staging-instrumentation-name: ${{ inputs.staging-instrumentation-name }}
6060
caller-workflow-name: 'main-build'
61-
61+
62+
ec2-different-node-version:
63+
strategy:
64+
fail-fast: false
65+
matrix:
66+
node-version: [ '14', '16', '18', '20', '22' ]
67+
needs: [ upload-main-build ]
68+
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/node-ec2-default-test.yml@main
69+
secrets: inherit
70+
with:
71+
aws-region: 'us-east-1'
72+
staging-instrumentation-name: ${{ inputs.staging-instrumentation-name }}
73+
node-version: ${{ matrix.node-version }}
74+
cpu-architecture: 'x86_64'
75+
caller-workflow-name: 'main-build'
76+
77+
ec2-arm64-cpu-architecture:
78+
needs: [ upload-main-build ]
79+
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/node-ec2-default-test.yml@main
80+
secrets: inherit
81+
with:
82+
aws-region: 'us-east-1'
83+
staging-instrumentation-name: ${{ inputs.staging-instrumentation-name }}
84+
cpu-architecture: 'arm64'
85+
caller-workflow-name: 'main-build'
86+
6287
eks:
6388
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/node-eks-test.yml@main
6489
secrets: inherit

0 commit comments

Comments
 (0)