Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflow: on_target: Reuse build workflow to build firmware #157

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

balaji-srin
Copy link

Previously the on_target workflow was re-doing the steps done by the build workflow. But since now the build workflow uploads the built firmware as artifacts, we now have the possibility to re-use it. The on_target workflow now calls the build worfklow and downloads its artifaacts to perform the tests.

The test fraemwork code was modified to accept new input argument firmware-hex that points to the hex file to test.

@balaji-srin balaji-srin force-pushed the reuse_build_worklow_in_on_target_test branch 4 times, most recently from 199f4ad to f7349eb Compare June 10, 2024 21:22
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@balaji-srin balaji-srin force-pushed the reuse_build_worklow_in_on_target_test branch from f7349eb to 854f9a6 Compare June 11, 2024 11:55
@balaji-srin balaji-srin force-pushed the reuse_build_worklow_in_on_target_test branch 3 times, most recently from cb9ea64 to a9031f7 Compare June 11, 2024 14:11
Previously the on_target workflow was re-doing the steps done by the
build workflow. But since now the build workflow uploads the built
firmware as artifacts, we now have the possibility to re-use it. The
on_target workflow now calls the build worfklow and downloads its
artifaacts to perform the tests.

The test fraemwork code was modified to accept new input argument
firmware-hex that points to the hex file to test.
Also renamed the python file to have the test_ prefix so that pytest
auto-detects it when invoked without any options.

Signed-off-by: Balaji Srinivasan <[email protected]>
@balaji-srin balaji-srin force-pushed the reuse_build_worklow_in_on_target_test branch from a9031f7 to 3702a86 Compare June 11, 2024 17:23
@balaji-srin balaji-srin merged commit 1eb43f0 into main Jun 11, 2024
3 checks passed
@balaji-srin balaji-srin deleted the reuse_build_worklow_in_on_target_test branch June 11, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants