.github: reuse hardware-test workflow - #62
Conversation
|
Both Buildroot and Yocto should run all tests and not depend on tests in the U-Boot and Linux repos. Both combine numerous pieces of software and it is important to test the the full system when they are all combined. The bootstrap image is a br2_external concept so it is confusing why we'd use a shared action from the Linux repository. What logic exactly is being shared here? |
Yep, I should have added more context to that PR. So this hw-test.yaml in br2 was old version, clearly not really scaleable. But the new ones as in U-Boot: https://github.com/analogdevicesinc/u-boot/blob/ci/.github/workflows/hw-test.yml They are just generic things to convert tests to hw-test format. So they do not include and specific test names, board names, etc. Then you can call that in top-level yaml as: hardware-test:
needs: [build_aarch64]
if: ${{ github.event_name != 'release' }}
strategy:
fail-fast: false
matrix:
include:
- needs: '["sc598", "ezkit"]'
- needs: '["sc598", "ezlite"]'
- needs: '["sc846", "ezkit"]'
uses: analogdevicesinc/u-boot/.github/workflows/hw-test.yml@ci
with:
test-set: 'adsp/u-boot'
needs: ${{ matrix.needs }}
secrets: inherit
permissions:
actions: read
contents: read
id-token: writeI picked Linux repo as base so I can just change one file and distribute to everywhere. |
|
Hi, from u-boot Couldn't empty string means any? so this becomes |
You are right to call this out. An empty In this workflow, I can fix that on linux side before merge this, then I can also have similar PR in u-boot to let U-Boot repo also use the linux side workflow as well. |
62b25d0 to
7d3ffa9
Compare
Delete the local hw-test.yml copy and call analogdevicesinc/hw-test/.github/workflows/run-test.yml@main instead. Expand hardware-test to a matrix of test-set and needs. Signed-off-by: Ozan Durgut <ozan.durgut@analog.com>
0177245 to
f5ce393
Compare
Use the shared Linux hardware-test workflow for Bootstrap validation instead of maintaining a br2-external wrapper.
Run Bootstrap on both SC598 EZKIT and EZLITE. Remove the br2-external U-Boot test since it is now covered by the U-Boot repository’s workflow.
This is to be merged after Linux side gets merged.