Skip to content

add cpu info #691

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 2 commits into from
Jun 8, 2025
Merged

add cpu info #691

merged 2 commits into from
Jun 8, 2025

Conversation

alonre24
Copy link
Collaborator

@alonre24 alonre24 commented Jun 7, 2025

Describe the changes in the pull request

Print the CPU info in our GHA flows

Mark if applicable

  • This PR introduces API changes
  • This PR introduces serialization changes

Copy link

codecov bot commented Jun 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.29%. Comparing base (5ba2efa) to head (c7d6ce8).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #691   +/-   ##
=======================================
  Coverage   96.29%   96.29%           
=======================================
  Files         111      111           
  Lines        6288     6288           
=======================================
  Hits         6055     6055           
  Misses        233      233           

☔ 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.

@alonre24 alonre24 requested a review from Copilot June 8, 2025 06:31
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new step in multiple GitHub workflow files to print CPU information during CI runs.

  • Adds a “Print CPU information” step to task-unit-test, event-pull_request, and coverage workflows.
  • The step attempts to use lscpu, or falls back to other commands based on the OS.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/task-unit-test.yml Adds CPU info step with details for Linux and macOS.
.github/workflows/event-pull_request.yml Adds CPU info step for Linux using lscpu/fallback.
.github/workflows/coverage.yml Adds CPU info step for Linux using lscpu/fallback.

@@ -34,6 +34,26 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
- name: Print CPU information
Copy link
Preview

Copilot AI Jun 8, 2025

Choose a reason for hiding this comment

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

The 'Print CPU information' step is duplicated across three workflows. Consider refactoring it into a reusable composite action to reduce duplication and simplify future maintenance.

Copilot uses AI. Check for mistakes.

@alonre24 alonre24 added this pull request to the merge queue Jun 8, 2025
Merged via the queue into main with commit cb10c51 Jun 8, 2025
17 checks passed
@alonre24 alonre24 deleted the print_runner_info_ci branch June 8, 2025 08:58
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