47
47
strategy :
48
48
matrix :
49
49
idf_ver : ["latest"]
50
- example : [ { app: host, path: "examples/mqtt", bin: "build_esp32p4_p4" } , { app: 2sta, path: "examples/two_stations", bin: "build_esp32s3_s3" }, { app: slave, path: "examples/server", bin: "build_esp32c6_c6" }]
50
+ example :
51
+ - { app: host, path: "examples/mqtt", bin: "build_esp32p4_p4" }
52
+ - { app: host_1, path: "examples/mqtt", bin: "build_esp32p4_p4_1" }
53
+ - { app: 2sta, path: "examples/two_stations", bin: "build_esp32s3_s3" }
54
+ - { app: slave, path: "examples/server", bin: "build_esp32c6_c6" }
55
+ - { app: slave_1, path: "examples/server", bin: "build_esp32c6_c6_1" }
51
56
52
57
runs-on : ubuntu-latest
53
58
container : espressif/idf:${{ matrix.idf_ver }}
90
95
strategy :
91
96
matrix :
92
97
idf_ver : ["latest"]
98
+ test_pair :
99
+ - { p4: "build_esp32p4_p4", c6: "build_esp32c6_c6" }
100
+ - { p4: "build_esp32p4_p4_1", c6: "build_esp32c6_c6_1" }
93
101
runs-on : [self-hosted, wifi-remote]
94
102
container :
95
103
image : python:3.7-buster
@@ -100,18 +108,18 @@ jobs:
100
108
- uses : actions/checkout@v4
101
109
- uses : actions/download-artifact@v4
102
110
with :
103
- name : eppp_${{ matrix.idf_ver }}_build_esp32p4_p4
111
+ name : eppp_${{ matrix.idf_ver }}_${{ matrix.test_pair.p4 }}
104
112
path : ${{ env.TEST_DIR }}/mqtt/
105
113
- uses : actions/download-artifact@v4
106
114
with :
107
- name : eppp_${{ matrix.idf_ver }}_build_esp32c6_c6
115
+ name : eppp_${{ matrix.idf_ver }}_${{ matrix.test_pair.c6 }}
108
116
path : ${{ env.TEST_DIR }}/server/
109
117
- name : Run Test
110
118
working-directory : ${{ env.TEST_DIR }}
111
119
run : |
112
120
python -m pip install pytest-embedded-serial-esp pytest-embedded-idf pytest-rerunfailures pytest-timeout pytest-ignore-test-results
113
121
unzip server/artifacts.zip -d server/
114
- mv server/build_esp32c6_c6 / server/build/
122
+ mv server/${{ matrix.test_pair.c6 }} / server/build/
115
123
unzip mqtt/artifacts.zip -d mqtt/
116
- mv mqtt/build_esp32p4_p4 / mqtt/build/
124
+ mv mqtt/${{ matrix.test_pair.p4 }} / mqtt/build/
117
125
python -m pytest --log-cli-level DEBUG --target esp32p4,esp32c6
0 commit comments