-
-
Notifications
You must be signed in to change notification settings - Fork 390
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
feat(ci): implement psycopg
client installation for macos and windows
#3932
Conversation
psycopg
client installation for macos and windows
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3932 +/- ##
=======================================
Coverage 98.34% 98.34%
=======================================
Files 347 347
Lines 15727 15727
Branches 1738 1738
=======================================
+ Hits 15466 15467 +1
+ Misses 126 124 -2
- Partials 135 136 +1 ☔ View full report in Codecov by Sentry. |
Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/3932 |
# Linux Source | ||
- name: Install Build Dependencies | ||
run: sudo apt-get install build-essential libpq-dev python3-dev -y | ||
if: startsWith(inputs.os, 'ubuntu') | ||
|
||
# MacOS Source | ||
- name: Install Build Dependencies | ||
run: brew install libpq && brew link --force libpq | ||
if: startsWith(inputs.os, 'macos') | ||
|
||
# Windows Source | ||
- name: Install Build Dependencies | ||
uses: ikalnytskyi/action-setup-postgres@v7 | ||
if: startsWith(inputs.os, 'windows') | ||
|
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.
Shouldn't we skip those if we're not on 3.13, since we don't need to build psycopg there?
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.
we are actually running the test on 3.13 in windows and macos now as well. It's using the pure python implementation. The only requirement for those are the libpq development libraries.
Description
this CI implements the necessary steps for installing psycopg in osx and windows
Closes