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