Skip to content

Commit 2590d2f

Browse files
committed
github/workflows: Update client test workflow.
- Remove key from tests that don't use it. - Add a test that uses the embedded CADATA. Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
1 parent b358546 commit 2590d2f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/client-test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,18 @@ jobs:
8989
- name: '☁️ Connect to IoT cloud (CPython / Key-Cert Auth / Async)'
9090
env:
9191
DEVICE_ID: ${{ secrets.DEVICE_ID2 }}
92-
SECRET_KEY: ${{ secrets.SECRET_KEY }}
9392
run: |
9493
python tests/ci.py --file-auth
9594
95+
- name: '☁️ Connect to IoT cloud (CPython / Key-Cert-CADATA Auth / Async)'
96+
env:
97+
DEVICE_ID: ${{ secrets.DEVICE_ID2 }}
98+
run: |
99+
python tests/ci.py --file-auth --ca-data
100+
96101
- name: '☁️ Connect to IoT cloud (CPython / Crypto Auth / Async)'
97102
env:
98103
DEVICE_ID: ${{ secrets.DEVICE_ID2 }}
99-
SECRET_KEY: ${{ secrets.SECRET_KEY }}
100104
run: |
101105
export SOFTHSM2_CONF="${HOME}/softhsm/tokens/softhsm2.conf"
102106
python tests/ci.py --crypto-device
@@ -122,7 +126,6 @@ jobs:
122126
- name: '☁️ Connect to IoT cloud (MicroPython / Key-Cert Auth / Async)'
123127
env:
124128
DEVICE_ID: ${{ secrets.DEVICE_ID2 }}
125-
SECRET_KEY: ${{ secrets.SECRET_KEY }}
126129
run: |
127130
export PATH="${HOME}/cache/bin:${PATH}"
128131
micropython -c "import sys; print(sys.path)"

0 commit comments

Comments
 (0)