Skip to content

Unify duplicated tox workflows (infra)#1937

Merged
Hook25 merged 11 commits intomainfrom
tox_upgrade
Jun 6, 2025
Merged

Unify duplicated tox workflows (infra)#1937
Hook25 merged 11 commits intomainfrom
tox_upgrade

Conversation

@Hook25
Copy link
Copy Markdown
Collaborator

@Hook25 Hook25 commented May 28, 2025

Description

Our tox workflows are mostly the same for core components, but duplicated (for the most part) because triggering on path changes in a smart-ish way is a bit bothersome. This tries to unify them, triggering only those that change if any did, and all if the workflow changes. This has the advantage of "centralizing" all of these workflows in one place but also simplifies reviewing the dependabot prs because the trigger on workflow changes was missing on some of the tox workflows (sigh). Another thing that was missing was the 3.12 toxing, with whom I discovered some tests still using pkg_resources I fixed in this PR.

Resolved issues

Partially fixes: https://warthogs.atlassian.net/browse/CHECKBOX-1915 (stepping stone)

Documentation

N/A

Tests

N/A (a run will trigger on this PR)

@codecov
Copy link
Copy Markdown

codecov bot commented May 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.54%. Comparing base (0918ac9) to head (6122666).
⚠️ Report is 120 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1937      +/-   ##
==========================================
+ Coverage   50.39%   50.54%   +0.15%     
==========================================
  Files         384      384              
  Lines       41095    41112      +17     
  Branches     6753     7629     +876     
==========================================
+ Hits        20709    20782      +73     
+ Misses      19644    19586      -58     
- Partials      742      744       +2     
Flag Coverage Δ
checkbox-ng 70.26% <ø> (+0.23%) ⬆️
checkbox-support 63.91% <ø> (+0.21%) ⬆️
provider-base 25.68% <ø> (+0.01%) ⬆️
provider-certification-client 57.14% <ø> (ø)
provider-certification-server 57.14% <ø> (ø)
provider-genio 96.90% <ø> (ø)
provider-gpgpu 92.61% <ø> (ø)
provider-iiotg 100.00% <ø> (ø)
provider-resource 38.19% <ø> (ø)
provider-sru 97.97% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Collaborator

@fernando79513 fernando79513 left a comment

Choose a reason for hiding this comment

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

Nice clean-up!!
You have already proven that the functionality is there with the pipelines, so I've only added some minor changes for clarity.

Hook25 and others added 2 commits June 6, 2025 14:45
Co-authored-by: Fernando Bravo <39527354+fernando79513@users.noreply.github.com>
Copy link
Copy Markdown
Collaborator

@fernando79513 fernando79513 left a comment

Choose a reason for hiding this comment

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

LGTM +1!

@Hook25 Hook25 merged commit f30c273 into main Jun 6, 2025
225 of 298 checks passed
@Hook25 Hook25 deleted the tox_upgrade branch June 6, 2025 13:49
mreed8855 pushed a commit that referenced this pull request Jul 30, 2025
* Unify tox for all core components

* Fix workflow syntax

* Fix libsvm version

* Remove pkg-resources from all tests in checkbox_support

* Remove non-codecov tox

* Format github output to make it parsable

* Try to add output and re-format back wrong syntax

* Make output a list of dicts

Minor: reword text and actually upload

* Remove all outdated (duplicated) workflows

* Add comment documentation

Co-authored-by: Fernando Bravo <39527354+fernando79513@users.noreply.github.com>

* Add a name metadata to step

---------

Co-authored-by: Fernando Bravo <39527354+fernando79513@users.noreply.github.com>
mreed8855 pushed a commit that referenced this pull request Jul 31, 2025
* Unify tox for all core components

* Fix workflow syntax

* Fix libsvm version

* Remove pkg-resources from all tests in checkbox_support

* Remove non-codecov tox

* Format github output to make it parsable

* Try to add output and re-format back wrong syntax

* Make output a list of dicts

Minor: reword text and actually upload

* Remove all outdated (duplicated) workflows

* Add comment documentation

Co-authored-by: Fernando Bravo <39527354+fernando79513@users.noreply.github.com>

* Add a name metadata to step

---------

Co-authored-by: Fernando Bravo <39527354+fernando79513@users.noreply.github.com>
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