-
-
Notifications
You must be signed in to change notification settings - Fork 536
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
Fix CI with new Ubuntu LTS #3667
Conversation
Reviewer's Guide by SourceryThis pull request addresses CI issues by adjusting the GitHub Actions workflow to accommodate Ubuntu version changes and CodSpeed compatibility. The changes primarily focus on modifying the test matrix generation and benchmark processes. No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @Ckk3 - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3667 +/- ##
==========================================
+ Coverage 96.67% 97.01% +0.34%
==========================================
Files 503 503
Lines 33457 33457
Branches 5602 5618 +16
==========================================
+ Hits 32344 32459 +115
+ Misses 880 792 -88
+ Partials 233 206 -27 |
CodSpeed Performance ReportMerging #3667 will not alter performanceComparing Summary
|
.github/workflows/test.yml
Outdated
@@ -24,10 +24,12 @@ jobs: | |||
sessions: ${{ steps.set-matrix.outputs.sessions }} | |||
steps: | |||
- uses: actions/checkout@v4 | |||
- run: pip install poetry nox nox-poetry | |||
- run: python3 -m venv .venv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we use uv instead? :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure! I didn’t change it earlier because I wanted to minimize changes, but I will make this changes on this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noice!
Description
Our CI started getting some new erros, I've checked that CodSpeed doesn't support Ubuntu 24.04 LTS (lastest LTS).
This PR fixes
Unit tests / 💻 Generate test matrix (pull_request)
andUnit tests / 📈 Benchmarks (pull_request)
workflows by bring back ubuntu 22.04 onBenchmarks
and using a Virtual Enviroment onGenerate Test Matrix
to follow PEP 668 on new ubuntu version.Is also important see that 22.04 LTS will be updated until April 2027
Types of Changes
Issues Fixed or Closed by This PR
Checklist
Summary by Sourcery
Update CI workflows to address compatibility issues with the latest Ubuntu LTS by reverting to Ubuntu 22.04 for benchmarks and using a virtual environment for test matrix generation.
CI: