Skip to content

Commit 0bc4a03

Browse files
committed
misc/github: Add synchronous test cases to CI.
Signed-off-by: iabdalkader <[email protected]>
1 parent 66bf114 commit 0bc4a03

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

.github/workflows/client-test.yml

+20-4
Original file line numberDiff line numberDiff line change
@@ -71,34 +71,50 @@ jobs:
7171
run: |
7272
source tests/ci.sh && ci_configure_softhsm
7373
74-
- name: '☁️ Connect to IoT cloud (CPython / Basic Auth)'
74+
- name: '☁️ Connect to IoT cloud (CPython / Basic Auth / Async)'
7575
env:
7676
DEVICE_ID: ${{ secrets.DEVICE_ID1 }}
7777
SECRET_KEY: ${{ secrets.SECRET_KEY }}
7878
run: |
7979
python tests/ci.py --basic-auth
8080
81-
- name: '☁️ Connect to IoT cloud (CPython / Key/Cert Auth)'
81+
- name: '☁️ Connect to IoT cloud (CPython / Basic Auth / Sync)'
82+
env:
83+
DEVICE_ID: ${{ secrets.DEVICE_ID1 }}
84+
SECRET_KEY: ${{ secrets.SECRET_KEY }}
85+
run: |
86+
python tests/ci.py --basic-auth --sync
87+
88+
- name: '☁️ Connect to IoT cloud (CPython / Key-Cert Auth / Async)'
8289
env:
8390
DEVICE_ID: ${{ secrets.DEVICE_ID2 }}
8491
SECRET_KEY: ${{ secrets.SECRET_KEY }}
8592
run: |
8693
python tests/ci.py --file-auth
8794
8895
89-
- name: '☁️ Connect to IoT cloud (CPython / Crypto Auth)'
96+
- name: '☁️ Connect to IoT cloud (CPython / Crypto Auth / Async)'
9097
env:
9198
DEVICE_ID: ${{ secrets.DEVICE_ID2 }}
9299
SECRET_KEY: ${{ secrets.SECRET_KEY }}
93100
run: |
94101
export SOFTHSM2_CONF="${HOME}/softhsm/tokens/softhsm2.conf"
95102
python tests/ci.py --crypto-device
96103
97-
- name: '☁️ Connect to IoT cloud (MicroPython / Basic Auth)'
104+
- name: '☁️ Connect to IoT cloud (MicroPython / Basic Auth / Async)'
98105
env:
99106
DEVICE_ID: ${{ secrets.DEVICE_ID1 }}
100107
SECRET_KEY: ${{ secrets.SECRET_KEY }}
101108
run: |
102109
export PATH="${HOME}/cache/bin:${PATH}"
103110
micropython -c "import sys; print(sys.path)"
104111
micropython tests/ci.py --basic-auth
112+
113+
- name: '☁️ Connect to IoT cloud (MicroPython / Basic Auth / Sync)'
114+
env:
115+
DEVICE_ID: ${{ secrets.DEVICE_ID1 }}
116+
SECRET_KEY: ${{ secrets.SECRET_KEY }}
117+
run: |
118+
export PATH="${HOME}/cache/bin:${PATH}"
119+
micropython -c "import sys; print(sys.path)"
120+
micropython tests/ci.py --basic-auth --sync

0 commit comments

Comments
 (0)