Skip to content

Commit b73114c

Browse files
authored
[continuous-integration] fix the path for uploading artifacts when the BR fails (openthread#10521)
The OTBR testing artifacts used to be at the root directory but they are now at `ot_testing/`.
1 parent 6f30a3f commit b73114c

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/otbr.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
run: |
8686
export CI_ENV="$(bash <(curl -s https://codecov.io/env)) -e GITHUB_ACTIONS -e COVERAGE"
8787
echo "CI_ENV=${CI_ENV}"
88-
sudo -E ./script/test cert_suite ./tests/scripts/thread-cert/backbone/*.py || (sudo chmod a+r *.log *.json *.pcap && false)
88+
sudo -E ./script/test cert_suite ./tests/scripts/thread-cert/backbone/*.py || (sudo chmod a+r ot_testing/* && false)
8989
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
9090
with:
9191
name: cov-thread-1-3-backbone-docker
@@ -96,11 +96,11 @@ jobs:
9696
with:
9797
name: thread-1-3-backbone-results
9898
path: |
99-
*.pcap
100-
*.json
101-
*.log
102-
coredump_*
103-
otbr-agent_*
99+
ot_testing/*.pcap
100+
ot_testing/*.json
101+
ot_testing/*.log
102+
ot_testing/coredump_*
103+
ot_testing/otbr-agent_*
104104
- name: Generate Coverage
105105
run: |
106106
./script/test generate_coverage gcc
@@ -207,7 +207,7 @@ jobs:
207207
run: |
208208
export CI_ENV="$(bash <(curl -s https://codecov.io/env)) -e GITHUB_ACTIONS -e COVERAGE"
209209
echo "CI_ENV=${CI_ENV}"
210-
sudo -E ./script/test cert_suite ${{ matrix.cert_scripts }} || (sudo chmod a+r *.log *.json *.pcap && false)
210+
sudo -E ./script/test cert_suite ${{ matrix.cert_scripts }} || (sudo chmod a+r ot_testing/* && false)
211211
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
212212
with:
213213
name: cov-br-docker-${{ matrix.description }}-${{ matrix.otbr_mdns }}-${{matrix.otbr_trel}}
@@ -218,11 +218,11 @@ jobs:
218218
with:
219219
name: br-results-${{ matrix.description }}-${{ matrix.otbr_mdns }}-${{matrix.otbr_trel}}
220220
path: |
221-
*.pcap
222-
*.json
223-
*.log
224-
coredump_*
225-
otbr-agent_*
221+
ot_testing/*.pcap
222+
ot_testing/*.json
223+
ot_testing/*.log
224+
ot_testing/coredump_*
225+
ot_testing/otbr-agent_*
226226
- name: Generate Coverage
227227
run: |
228228
./script/test generate_coverage gcc

0 commit comments

Comments
 (0)