-
Notifications
You must be signed in to change notification settings - Fork 65
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
Daily CI with unpinned deps #583
Conversation
Deploying logfire-docs with Cloudflare Pages
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #583 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 133 133
Lines 10448 10448
Branches 1430 1430
=========================================
Hits 10448 10448 ☔ View full report in Codecov by Sentry. |
name: test on Python ${{ matrix.python-version }} and pydantic ${{ matrix.pydantic-version }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | ||
pydantic-version: ['main'] | ||
include: | ||
- python-version: '3.12' | ||
pydantic-version: '2.4' | ||
- python-version: '3.12' | ||
pydantic-version: '2.5' | ||
- python-version: '3.12' | ||
pydantic-version: '2.6' | ||
- python-version: '3.12' | ||
pydantic-version: '2.7' | ||
- python-version: '3.12' | ||
pydantic-version: '2.8' | ||
- python-version: '3.12' | ||
pydantic-version: '2.9' |
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.
Why do we do this only with Pydantic?
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.
I think we will want a matrix for other deps too but it doesn't need to be a first step. We're still using the latest version of everything.
I also think that having this full matrix here means that regular CI only needs 2.4 and the latest release (pinned) and anything else needed for coverage (eventually v1 when some form of that works) so that it can run quickly and cheaply. Not a blocker though.
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.
Wouldn't it make sense to just test 2.4
and main
on the daily CI, and leave all of these for the PR tests?
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.
No, the daily CI is a good place to put things that take longer that we don't want to wait for to merge a PR.
Seems like it's working because tests are already failing due to another OTEL release. The assertion diffs look related to open-telemetry/opentelemetry-python#4251 |
FIxes #580