Lines Matching +full:delete +full:- +full:coverage +full:- +full:artifacts
33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
48 packet-verification:
49 runs-on: ubuntu-20.04
57 - name: Harden Runner
58 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
60 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
62 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
65 - name: Bootstrap
67 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
68 …sudo apt-get --no-install-recommends install -y g++-multilib python3-setuptools python3-wheel ninj…
69 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
70 - name: Build
73 - name: Get Thread-Wireshark
76 - name: Run
78 …./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-cert/test_*.…
79 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
82 name: packet-verification-pcaps
86 - name: Generate Coverage
89 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
91 name: cov-packet-verification
92 path: tmp/coverage.info
94 cli-ftd:
95 runs-on: ubuntu-20.04
97 CFLAGS: -m32
98 CXXFLAGS: -m32
99 LDFLAGS: -m32
100 COVERAGE: 1
105 - name: Harden Runner
106 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
108 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
110 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
113 - name: Bootstrap
115 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
116 …sudo apt-get --no-install-recommends install -y lcov ninja-build g++-multilib python3-setuptools p…
117 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
118 - name: Build
121 - name: Run
123 …./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-cert/test_*.…
124 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
127 name: cli-ftd-thread-cert
129 - name: Generate Coverage
132 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
134 name: cov-cli-ftd
135 path: tmp/coverage.info
137 cli-mtd:
138 name: cli-mtd MESSAGE_USE_HEAP=${{ matrix.message_use_heap }}
139 runs-on: ubuntu-20.04
141 fail-fast: false
145 CFLAGS: -m32
146 CXXFLAGS: -m32
147 LDFLAGS: -m32
148 COVERAGE: 1
155 - name: Harden Runner
156 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
158 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
160 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
163 - name: Bootstrap
165 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
166 …sudo apt-get --no-install-recommends install -y lcov ninja-build g++-multilib python3-setuptools p…
167 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
168 - name: Build
171 - name: Run
173 …./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-cert/test_*.…
174 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
177 name: cli-mtd-thread-cert
179 - name: Generate Coverage
182 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
184 name: cov-cli-mtd-${{ matrix.message_use_heap }}
185 path: tmp/coverage.info
187 cli-time-sync:
188 runs-on: ubuntu-20.04
190 CFLAGS: -m32
191 CXXFLAGS: -m32
192 LDFLAGS: -m32
193 COVERAGE: 1
198 - name: Harden Runner
199 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
201 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
203 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
206 - name: Bootstrap
208 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
209 …sudo apt-get --no-install-recommends install -y g++-multilib lcov ninja-build python3-setuptools p…
210 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
211 - name: Build
213 OT_OPTIONS="-DOT_TIME_SYNC=ON" ./script/test build
214 - name: Run
216 …./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-cert/test_*.…
217 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
220 name: cli-time-sync-thread-cert
222 - name: Generate Coverage
225 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
227 name: cov-cli-time-sync
228 path: tmp/coverage.info
231 runs-on: ubuntu-20.04
233 CFLAGS: -DCLI_COAP_SECURE_USE_COAP_DEFAULT_HANDLER=1 -DOPENTHREAD_CONFIG_MLE_MAX_CHILDREN=15
234 CXXFLAGS: -DCLI_COAP_SECURE_USE_COAP_DEFAULT_HANDLER=1 -DOPENTHREAD_CONFIG_MLE_MAX_CHILDREN=15
237 - name: Harden Runner
238 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
240 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
242 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
243 - name: Bootstrap
245 sudo apt-get --no-install-recommends install -y expect ninja-build lcov socat
246 - name: Run
248 ulimit -c unlimited
250 …OT_OPTIONS='-DOT_TIME_SYNC=ON -DOT_FULL_LOGS=ON -DOT_LOG_OUTPUT=PLATFORM_DEFINED' VIRTUAL_TIME=0 .…
251 - name: Check Crash
254 CRASHED=$(./script/test check_crash | tail -1)
255 [[ $CRASHED -eq "1" ]] && echo "Crashed!" || echo "Not crashed."
257 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
260 name: core-expect-cli
262 ./ot-core-dump/*
263 - name: Generate Coverage
266 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
268 name: cov-expects
269 path: tmp/coverage.info
271 ot-commissioner:
272 runs-on: ubuntu-22.04
276 - name: Harden Runner
277 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
279 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
281 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
284 - name: Bootstrap
289 sudo apt-get install -y avahi-daemon avahi-utils lcov
290 …script/git-tool clone https://github.com/openthread/ot-commissioner.git /tmp/ot-commissioner --dep…
291 - name: Build
293 cd /tmp/ot-commissioner
295 cmake -GNinja \
296 -DCMAKE_CXX_STANDARD=11 \
297 -DCMAKE_CXX_STANDARD_REQUIRED=ON \
298 -DCMAKE_BUILD_TYPE=Release \
299 -DCMAKE_INSTALL_PREFIX=/usr/local \
300 -DOT_COMM_COVERAGE=ON \
301 -DOT_COMM_CCM=OFF \
302 -S . -B build
303 cmake --build build
304 sudo cmake --install build
305 - name: Run
308 cd /tmp/ot-commissioner/tests/integration
311 - name: Generate Coverage
314 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
316 name: cov-ot-commissioner
317 path: tmp/coverage.info
319 multiple-instance:
320 runs-on: ubuntu-20.04
322 COVERAGE: 1
325 CXXFLAGS: "-DOPENTHREAD_CONFIG_LOG_PREPEND_UPTIME=0"
327 - name: Harden Runner
328 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
330 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
332 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
335 - name: Bootstrap
337 … sudo apt-get --no-install-recommends install -y lcov ninja-build python3-setuptools python3-wheel
338 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
339 - name: Build
341 OT_OPTIONS="-DOT_MULTIPLE_INSTANCE=ON" ./script/test build
342 - name: Run
344 …./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-cert/test_*.…
345 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
349 path: build/simulation/tests/scripts/thread-cert
350 - name: Generate Coverage
353 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
355 name: cov-multiple-instance
356 path: tmp/coverage.info
358 upload-coverage:
360 - packet-verification
361 - cli-ftd
362 - cli-mtd
363 - cli-time-sync
364 - expects
365 - ot-commissioner
366 - multiple-instance
367 runs-on: ubuntu-20.04
369 - name: Harden Runner
370 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
372 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
374 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
377 - name: Bootstrap
379 sudo apt-get --no-install-recommends install -y lcov
380 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
382 path: coverage/
383 - name: Combine Coverage
386 - name: Upload Coverage
387 uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
392 delete-coverage-artifacts:
393 needs: upload-coverage
394 runs-on: ubuntu-20.04
396 - name: Harden Runner
397 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
399 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
401 - uses: geekyeggo/delete-artifact@54ab544f12cdb7b71613a16a2b5a37a9ade990af # v2.0.0
403 name: cov-*