Skip to content

Commit

Permalink
use variables instead of parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-polinsky committed Oct 22, 2024
1 parent 240989c commit c6f7a0b
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .pipelines/integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,8 @@ variables:
- group: iTwin.js non-secret config variables
- group: iTwin.js Integration Test Users
- group: iTwin.js Auth Client Integration tests

parameters:
- name: testPackages
type: object
default:
- browser-authorization
- electron-authorization
- oidc-signin-tool
- service-authorization
- node-cli-authorization
- name: packages
value: browser-authorization, electron-authorization, oidc-signin-tool, service-authorization, node-cli-authorization

jobs:
- job: IntegrationTests
Expand Down Expand Up @@ -115,7 +107,7 @@ jobs:
IMJS_TEST_REGULAR_USER_PASSWORD: $(IMJS_TEST_REGULAR_USER_PASSWORD)
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
- ${{ each testPackage in parameters.testPackages }}:
- ${{ each package in split(variables.packages, ', ')}}:
- script: pnpm --filter ${{testPackage}} test:integration
displayName: integration test - ${{testPackage}}
env:
Expand Down

0 comments on commit c6f7a0b

Please sign in to comment.