-
Notifications
You must be signed in to change notification settings - Fork 571
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
Create pytest actions for the package and the apps #92
Conversation
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.
Leave small some comments
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.8" |
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.
python-version: "3.8" | |
python-version: "3.10" |
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 want to keep code compatibility with 3.8, right? @lightaime
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.8 |
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.
- name: Set up Python 3.8 | |
- name: Set up Python 3.10 |
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.8 |
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.
- name: Set up Python 3.8 | |
- name: Set up Python 3.10 |
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.8" |
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.
python-version: "3.8" | |
python-version: "3.10" |
.github/workflows/pytest_package.yml
Outdated
run: | | ||
python -m pip install --upgrade pip | ||
pip install flake8 pytest | ||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi |
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.
Should we test pip install -e .
instead?
We can also check it for py3.8. But the linting workflow is using py3.10z
what do you think?
…On Mon 17. Apr 2023 at 10:27, Dmitrii Khizbullin ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In .github/workflows/pytest_apps.yml
<#92 (comment)>:
> + branches: [ "master" ]
+
+permissions:
+ contents: read
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: ***@***.***
+ - name: Set up Python 3.8
+ uses: ***@***.***
+ with:
+ python-version: "3.8"
We want to keep code compatibility with 3.8, right?
—
Reply to this email directly, view it on GitHub
<#92 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFUJTYATJEDG75IYYQ7XWETXBTWFRANCNFSM6AAAAAAXAJMRDE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
No description provided.