IRNAS / irnas-zephyr-template

Template for Zephyr Projects
3 stars 1 forks source link

Add twister workflow #8

Closed MarkoSagadin closed 1 year ago

MarkoSagadin commented 1 year ago

Description

This PR adds twister workflow and make commands that are used in it.

Twister workflow can:

Relevant documentation was also updated.

Related: https://github.com/IRNAS/irnas-workflows-software/pull/8

Areas of interest for the reviewer

Documentation in the tests/ and make commands.

Checklist

After-review steps

[style guidelines]: https://github.com/IRNAS/irnas-guidelines-docs/blob/main/docs/developer_guidelines.md

MarkoSagadin commented 1 year ago

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

github-actions[bot] commented 1 year ago

Coverage after merging feature/twister into main will be

75.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
lib/example_lib
   example_lib.c71.43%50%100%75%10, 14
github-actions[bot] commented 1 year ago

Coverage after merging feature/twister into main will be

75.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
lib/example_lib
   example_lib.c71.43%50%100%75%10, 14
MarkoSagadin commented 1 year ago

@TjazVracko

Could we get these changes as a patch so I can apply them to existing projects?

Sure, just add .patch to the PR url and you can download the raw file. Like so: https://github.com/IRNAS/irnas-zephyr-template/pull/8.patch

Also, what happens if my project does not have a tests folder? I don't want CI checks to fail in that case. In that case I would suggest to not apply the patch.