Skip to content

Commit 620e472

Browse files
committed
Replaced powershell action with shell action.
1 parent 339e065 commit 620e472

3 files changed

Lines changed: 4 additions & 12 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,8 @@ jobs:
7575
name: build
7676

7777
- name: Test (Service Client)
78-
uses: azure/powershell@v2
79-
with:
80-
inlineScript: ./integration-tests/main-cases/service-client.ps1
81-
azPSVersion: "latest"
78+
shell: pwsh
79+
run: ./integration-tests/main-cases/service-client.ps1
8280
env:
8381
ITP_API_URL: ${{ vars.ITP_API_URL }}
8482
ITP_ISSUER_URL: ${{ vars.ITP_ISSUER_URL }}
@@ -110,10 +108,8 @@ jobs:
110108
name: build
111109

112110
- name: Test (Native Client)
113-
uses: azure/powershell@v2
114-
with:
115-
inlineScript: ./integration-tests/main-cases/service-client.ps1
116-
azPSVersion: "latest"
111+
shell: pwsh
112+
run: ./integration-tests/main-cases/native-client.ps1
117113
env:
118114
ITP_API_URL: ${{ vars.ITP_API_URL }}
119115
ITP_ISSUER_URL: ${{ vars.ITP_ISSUER_URL }}
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
Set-Location "$PSScriptRoot/../.."
22

3-
Get-Location
4-
53
./node_modules/.bin/mocha.ps1 --forbid-only integration-tests/main-cases/native-client-serial.test.ts
64

75
./node_modules/.bin/mocha.ps1 --forbid-only --parallel integration-tests/main-cases/native-client-parallel/*.test.ts
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
Set-Location "$PSScriptRoot/../.."
22

3-
Get-Location
4-
53
./node_modules/.bin/mocha.ps1 --forbid-only integration-tests/main-cases/service-client-serial.test.ts
64

75
./node_modules/.bin/mocha.ps1 --forbid-only --parallel integration-tests/main-cases/service-client-parallel/*.test.ts

0 commit comments

Comments
 (0)