Skip to content

Commit 5d06a08

Browse files
authored
[AppSignal E2E Testing] Validate E2E Tests Are Accounted For (#1806)
1 parent 20a5257 commit 5d06a08

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

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

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,4 +213,22 @@ jobs:
213213
secrets: inherit
214214
with:
215215
aws-region: us-east-1
216-
caller-workflow-name: 'main-build'
216+
caller-workflow-name: 'main-build'
217+
218+
# This validation is to ensure that all test workflows relevant to this repo are actually
219+
# being used in this repo, which is referring to all the other jobs in this file.
220+
#
221+
# If this starts failing, then it most likely means that new e2e test workflow was
222+
# added to `aws-observability/aws-application-signals-test-framework`, but was not
223+
# added to this file. It could also mean that a test in this file has been removed.
224+
#
225+
# If a particular test file is intended to not be tested in this repo and should not
226+
# be failing this particular validation, then choose one of the following options:
227+
# - Add the test file to the exclusions input (CSV format) to the workflow
228+
# (see: https://github.com/aws-observability/aws-application-signals-test-framework/blob/main/.github/workflows/validate-e2e-tests-are-accounted-for.yml#L1)
229+
# - Update the `validate-e2e-tests-are-accounted-for` job to change which "workflow files are expected to be used by this repo"
230+
# (see: https://github.com/aws-observability/aws-application-signals-test-framework/blob/main/.github/workflows/validate-e2e-tests-are-accounted-for.yml)
231+
validate-all-tests-are-accounted-for:
232+
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/validate-e2e-tests-are-accounted-for.yml@main
233+
with:
234+
exclusions: dotnet-ec2-nuget-test.yml,dotnet-ec2-asg-test.yml,dotnet-eks-windows-test.yml,java-ec2-ubuntu-test.yml

0 commit comments

Comments
 (0)