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

Make test in pillar container #3804

Merged

Conversation

christoph-zededa
Copy link
Contributor

Makefile: run pillar tests in pillar container

Instead of running the tests in the builder container,
run those in the pillar container.
Advantages:

  • the environment is nearer to the real EVE
  • packages don't have to be put into pillar and builder container

@christoph-zededa christoph-zededa force-pushed the make_test_in_pillar_container branch 5 times, most recently from 23423d5 to 1e684c2 Compare March 11, 2024 18:24
Copy link

codecov bot commented Mar 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 17.51%. Comparing base (8b84246) to head (19c35b0).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3804      +/-   ##
==========================================
- Coverage   20.27%   17.51%   -2.76%     
==========================================
  Files         236        3     -233     
  Lines       52143      805   -51338     
==========================================
- Hits        10570      141   -10429     
+ Misses      40809      629   -40180     
+ Partials      764       35     -729     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@christoph-zededa christoph-zededa marked this pull request as ready for review March 11, 2024 18:50
@eriknordmark
Copy link
Contributor

Yetus failed yamllint with
::group::.github/workflows/tests.yml:::error: file=.github/workflows/tests.yml,line=25,col=13::25:13: [colons] too many spaces before colon

(I don't know why this was not added as an annotation to the diffs.)

Instead of running the tests in the builder container,
run those in the pillar container.
Advantages:
- the environment is nearer to the real EVE
- packages don't have to be put into pillar and builder container

Signed-off-by: Christoph Ostarek <christoph@zededa.com>
@christoph-zededa christoph-zededa force-pushed the make_test_in_pillar_container branch 2 times, most recently from de8aa92 to 5a200e3 Compare March 12, 2024 15:10
a lot of those tests are not unit tests and calling
those 'unit tests' is confusing

Signed-off-by: Christoph Ostarek <christoph@zededa.com>
Copy link
Contributor

@eriknordmark eriknordmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eriknordmark eriknordmark merged commit f387baa into lf-edge:master Mar 12, 2024
28 of 45 checks passed
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.

3 participants