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

Move asset-related setup into its own file to avoid extra build requires #5598

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

Martchus
Copy link
Contributor

Otherwise we need many additional dependencies at build time. This is notable when those dependencies are not already pulled-in anyways for running tests and thus will fix builds on architectures where we have tests disabled.

Copy link
Member

@okurz okurz left a comment

Choose a reason for hiding this comment

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

This looks very clean though might fail tests still :)

Copy link

codecov bot commented Apr 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.40%. Comparing base (2dfd6ca) to head (6dedda7).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5598   +/-   ##
=======================================
  Coverage   98.40%   98.40%           
=======================================
  Files         392      393    +1     
  Lines       38287    38292    +5     
=======================================
+ Hits        37677    37682    +5     
  Misses        610      610           

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

@okurz
Copy link
Member

okurz commented Apr 29, 2024

From https://build.opensuse.org/package/live_build_log/devel:openQA:GitHub:os-autoinst:openQA:PR-5598/openQA:openQA-test/openSUSE_Tumbleweed/x86_64

[ 20s] + perl -I/usr/share/openqa/lib -mMojolicious -mMojo::Home -mOpenQA::Setup -e 'OpenQA::Assets::setup(Mojolicious->new(home => Mojo::Home->new("/usr/share/openqa")))'
[ 21s] Undefined subroutine &OpenQA::Assets::setup called at -e line 1.

Otherwise we need many additional dependencies at build time. This is
notable when those dependencies are not already pulled-in anyways for
running tests and thus will fix builds on architectures where we have tests
disabled.
@mergify mergify bot merged commit 822a4bc into os-autoinst:master Apr 29, 2024
36 checks passed
@Martchus Martchus deleted the separate-assets-module branch April 29, 2024 13:20
@Martchus
Copy link
Contributor Author

Builds for all archs look good again.

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.

None yet

3 participants