Skip to content

Commit 3006854

Browse files
committed
Use separate job for windows
1 parent a72b1a6 commit 3006854

1 file changed

Lines changed: 35 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ jobs:
6969
runner:
7070
- macos-latest
7171
- ubuntu-22.04
72-
- windows-2022
7372
permissions:
7473
id-token: write # This is required for requesting the JWT
7574
steps:
@@ -100,6 +99,41 @@ jobs:
10099
npm run test -- iotjobsclientv2
101100
source utils/test_cleanup.sh
102101
102+
v2-service-client-tests-win:
103+
runs-on: ${{ matrix.runner }}
104+
strategy:
105+
fail-fast: false
106+
matrix:
107+
runner:
108+
- windows-2022
109+
permissions:
110+
id-token: write # This is required for requesting the JWT
111+
steps:
112+
- name: Checkout Sources
113+
uses: actions/checkout@v2
114+
- uses: actions/setup-node@v4
115+
with:
116+
node-version: 16
117+
- name: Build ${{ env.PACKAGE_NAME }}
118+
run: |
119+
npm install
120+
- name: Install boto3
121+
run: |
122+
python3 -m pip install boto3
123+
- name: configure AWS credentials (MQTT5)
124+
uses: aws-actions/configure-aws-credentials@v4
125+
with:
126+
role-to-assume: ${{ env.CI_MQTT5_ROLE }}
127+
aws-region: ${{ env.AWS_DEFAULT_REGION }}
128+
- name: Service tests
129+
shell: bash
130+
run: |
131+
source utils/test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt us-east-1
132+
npm run test -- iotshadowclientv2
133+
npm run test -- iotidentityclientv2
134+
npm run test -- iotjobsclientv2
135+
source utils/test_cleanup.sh
136+
103137
# Runs the samples and ensures that everything is working
104138
linux-smoke-tests:
105139
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)