-
Notifications
You must be signed in to change notification settings - Fork 420
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
added fastapi.yml and updated django and flask #2363
Conversation
…e what errors come in
.github/workflows/fastapi.yml
Outdated
working-directory: fastapi | ||
strategy: | ||
matrix: | ||
python-version: [3.6, 3.7, 3.8, 3.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.
think I'll echo a previous comment, we can probably just test 1 version of Python, since FastAPI is testing that they are compatible with all of these versions, we just need to be sure we are compatible with FastAPI
(unless our instrumentation has a bunch of python version conditionals?)
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.
@brettlangdon Sounds good. I will change the conditional to the latest version (3.9)
Co-authored-by: Yun Kim <[email protected]>
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.
Looks good to me once some comments are added to the workflow. Just curious, what does the output of the tests look like when you run this action locally?
.github/workflows/fastapi.yml
Outdated
- name: Install Flit | ||
run: pip install flit | ||
- name: Install Dependencies | ||
run: flit install --symlink | ||
- name: Downgrade SQLalchemy | ||
run: pip install --force-reinstall SQLAlchemy==1.3.24 |
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.
It would be nice if you could add a quick comment above each of these these steps to label as being fastapi specific, and maybe explain why these steps are necessary to provide some context in the future 😄
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.
Added comments to FastAPI specific steps.
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.
👏 lgtm
Description
Checklist