Skip to content

Commit

Permalink
Changed parameter to retry_tests as - is not allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
spetrescu84 committed Sep 17, 2024
1 parent 4e49671 commit a1f56d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions azure_pipelines/automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
full_path: 'build/Build/Products/MSAL iOS Native Auth E2E Tests_MSAL iOS Native Auth E2E Tests_iphonesimulator17.5-x86_64.xctestrun'
destination: 'platform=iOS Simulator,name=iPhone 15,OS=17.5'
sdk: 'iphonesimulator'
retry-tests: false
retry_tests: false

- job: e2e_test_native_auth_mac
displayName: 'Run MSAL E2E tests for macOS native auth'
Expand All @@ -109,7 +109,7 @@ jobs:
full_path: 'build/Build/Products/MSAL Mac Native Auth E2E Tests_MSAL Mac Native Auth E2E Tests_macosx14.5-x86_64.xctestrun'
destination: 'platform=macOS'
sdk: 'macosx'
retry-tests: false
retry_tests: false

- job: cocoapods_lib_lint
displayName: Run Cocoapods lib lint
Expand Down
4 changes: 2 additions & 2 deletions azure_pipelines/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ jobs:
full_path: 'build/Build/Products/MSAL iOS Native Auth E2E Tests_MSAL iOS Native Auth E2E Tests_iphonesimulator17.5-x86_64.xctestrun'
destination: 'platform=iOS Simulator,name=iPhone 15,OS=17.5'
sdk: 'iphonesimulator'
retry-tests: 'false'
retry_tests: false

- job: e2e_test_native_auth_mac
displayName: 'Run MSAL E2E tests for macOS native auth'
Expand All @@ -175,7 +175,7 @@ jobs:
full_path: 'build/Build/Products/MSAL Mac Native Auth E2E Tests_MSAL Mac Native Auth E2E Tests_macosx14.5-x86_64.xctestrun'
destination: 'platform=macOS'
sdk: 'macosx'
retry-tests: 'false'
retry_tests: false

- job: 'Validate_SPM_Integration'
displayName: Validate SPM Integration
Expand Down
4 changes: 2 additions & 2 deletions azure_pipelines/templates/tests-with-conf-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ parameters:
full_path: 'build/Build/Products/MSAL Test Automation (iOS)_iphonesimulator17.5-x86_64.xctestrun'
destination: 'platform=iOS Simulator,name=iPhone 15,OS=17.5'
sdk: 'iphonesimulator'
retry-tests: 'true'
retry_tests: true

steps:
- checkout: self
Expand Down Expand Up @@ -59,7 +59,7 @@ steps:
targetType: 'inline'
script: |
ls build/Build/Products/
if ['${{ parameters.retry-tests }}' == 'true']; then
if ['${{ parameters.retry_tests }}' == true]; then
xcodebuild test-without-building \
-xctestrun '${{ parameters.full_path }}' \
-destination '${{ parameters.destination }}' \
Expand Down

0 comments on commit a1f56d4

Please sign in to comment.