Skip to content

Commit fc95538

Browse files
authored
Run native auth E2E tests in automation pipeline (#2248)
* run native auth e2e tests in automation PR * remove e2e test bundle from integration test target * use schema in the artifact name * use curly brackets
1 parent 5ab7808 commit fc95538

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

MSAL/NativeAuthEndToEndTestPlan.xctestplan

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,6 @@
7373
"identifier" : "28D1D56B29BF62E900CE75F4",
7474
"name" : "MSAL iOS Native Auth Integration Tests"
7575
}
76-
},
77-
{
78-
"parallelizable" : true,
79-
"target" : {
80-
"containerPath" : "container:MSAL.xcodeproj",
81-
"identifier" : "28CED2E72C21E0F9004320D1",
82-
"name" : "MSAL iOS Native Auth E2E Tests"
83-
}
8476
}
8577
],
8678
"version" : 1

azure_pipelines/automation.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,19 @@ jobs:
7979
issue_body = '''@AzureAD/appleidentity \nAutomation failed for [$(repositoryName)]({0}) ran against commit : {1} \n Pipeline URL : [{2}]({2})'''.format('$(Build.Repository.Uri)', git_commit, pipeline_uri)
8080
github.create_issue(github_org, repo, issue_title, issue_body, labels=['automation failure'])
8181
82+
- job: e2e_test_native_auth
83+
displayName: 'Run MSAL E2E tests for native auth'
84+
timeoutInMinutes: 30
85+
cancelTimeoutInMinutes: 5
86+
workspace:
87+
clean: all
88+
89+
steps:
90+
- template: templates/tests-with-conf-file.yml
91+
parameters:
92+
schema: 'MSAL iOS Native Auth E2E Tests'
93+
build: 'MSAL iOS Native Auth E2E Tests_MSAL iOS Native Auth E2E Tests'
94+
8295
- job: cocoapods_lib_lint
8396
displayName: Run Cocoapods lib lint
8497
timeoutInMinutes: 30

azure_pipelines/templates/tests-with-conf-file.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ steps:
6868
condition: succeededOrFailed()
6969
inputs:
7070
targetPath: '$(Agent.BuildDirectory)/s/test_output/'
71-
artifactName: 'TestOutputs Attempt - $(System.StageAttempt)'
71+
artifactName: 'TestOutputs Attempt - $(System.StageAttempt) - ${{ parameters.schema }}'
7272
publishLocation: 'pipeline'
7373

0 commit comments

Comments
 (0)