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

Daily CI with unpinned deps #583

Merged
merged 4 commits into from
Nov 13, 2024
Merged

Daily CI with unpinned deps #583

merged 4 commits into from
Nov 13, 2024

Conversation

sydney-runkle
Copy link
Member

FIxes #580

Copy link

cloudflare-workers-and-pages bot commented Nov 12, 2024

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7d26743
Status: ✅  Deploy successful!
Preview URL: https://cbcdb580.logfire-docs.pages.dev
Branch Preview URL: https://test-with-upgraded-deps.logfire-docs.pages.dev

View logs

Copy link

codecov bot commented Nov 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (d6879d9) to head (7d26743).
Report is 1 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

Comment on lines +13 to +32
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'
Copy link
Member

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?

Copy link
Contributor

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.

Copy link
Member Author

Choose a reason for hiding this comment

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

@alexmojaki,

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?

Copy link
Contributor

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.

@alexmojaki
Copy link
Contributor

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

@alexmojaki alexmojaki enabled auto-merge (squash) November 13, 2024 19:09
@alexmojaki alexmojaki merged commit 5acbee4 into main Nov 13, 2024
18 checks passed
@alexmojaki alexmojaki deleted the test-with-upgraded-deps branch November 13, 2024 19:12
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.

Daily CI with unpinned deps
3 participants