Skip to content

Abstract nsim workflows #714

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

Merged
merged 5 commits into from
Jan 2, 2025
Merged

Abstract nsim workflows #714

merged 5 commits into from
Jan 2, 2025

Conversation

szczys
Copy link
Contributor

@szczys szczys commented Dec 21, 2024

Move native_sim test for integration and Zephyr samples outside of test.yml and into their own folders. This makes it possible to run nsim tests outside of the context of test.yml.

Copy link

github-actions bot commented Dec 21, 2024

Visit the preview URL for this PR (updated for commit 8341c12):

https://golioth-firmware-sdk-doxygen-dev--pr714-szczys-abstrac-vgd10pgx.web.app

(expires Thu, 09 Jan 2025 21:33:00 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: a9993e61697a3983f3479e468bcb0b616f9a0578

@szczys szczys force-pushed the szczys/abstract-nsim-workflows branch from c1ec470 to 985138c Compare December 21, 2024 05:07
Copy link

github-actions bot commented Dec 21, 2024

Code Coverage

Code Coverage

Package Line Rate Branch Rate Health
include.golioth 75% 50%
port.linux 62% 34%
port.utils 58% 46%
port.zephyr 58% 25%
src 70% 31%
Summary 69% (2712 / 3940) 31% (1122 / 3621)

Copy link

codecov bot commented Dec 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

see 3 files with indirect coverage changes

@szczys szczys force-pushed the szczys/abstract-nsim-workflows branch from 985138c to b5626d7 Compare January 2, 2025 17:36
szczys added 2 commits January 2, 2025 11:54
Call the nsim integration tests from the test.yml workflow in the same way
that Zephyr and ESP-IDF test are used.

Signed-off-by: Mike Szczys <[email protected]>
Call the nsim Zephyr sample tests from the test.yml workflow in the same
way that Zephyr and ESP-IDF sample test are used.

Signed-off-by: Mike Szczys <[email protected]>
@szczys szczys force-pushed the szczys/abstract-nsim-workflows branch from b5626d7 to 89d0acb Compare January 2, 2025 17:54
szczys added 3 commits January 2, 2025 15:31
Expand the Allure Report branch awareness to allow an input to configure
the branch used to store the reports. This prepares the workflow for
regularly scheduled tests to keep their own history outside of main and
other branches.

Signed-off-by: Mike Szczys <[email protected]>
Run all hosted-runner tests every 4 hours. This includes native_sim (nsim)
test for integration and Zephyr samples, as well as Linux integration
tests.

Signed-off-by: Mike Szczys <[email protected]>
Rename and retitle all tests for better organization. This delivers a more
uniform list on the GitHub Actions page, and groups workflow files by
functionality.

- Use categories as prefix: ci, doc, hil, report, test, trigger
- Normalize on '-' instead of '_' in filenames
- Replace 'test' in filenames with 'integration' to differentiate from
  'sample'

Signed-off-by: Mike Szczys <[email protected]>
@szczys szczys merged commit 82409a7 into main Jan 2, 2025
31 of 32 checks passed
@szczys szczys deleted the szczys/abstract-nsim-workflows branch January 2, 2025 21:33
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.

4 participants