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

Create pytest actions for the package and the apps #92

Merged
merged 17 commits into from
Apr 19, 2023
Merged

Conversation

Obs01ete
Copy link
Collaborator

No description provided.

@Obs01ete Obs01ete changed the title Create pytest.yml Create pytest actions for the package and the apps Apr 16, 2023
@Obs01ete Obs01ete linked an issue Apr 16, 2023 that may be closed by this pull request
@lightaime lightaime marked this pull request as ready for review April 17, 2023 04:44
Copy link
Member

@lightaime lightaime left a 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"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
python-version: "3.8"
python-version: "3.10"

Copy link
Collaborator Author

@Obs01ete Obs01ete Apr 17, 2023

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
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- name: Set up Python 3.8
- name: Set up Python 3.10


steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- 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"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
python-version: "3.8"
python-version: "3.10"

run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
Copy link
Member

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?

@lightaime
Copy link
Member

lightaime commented Apr 17, 2023 via email

@Obs01ete Obs01ete merged commit cb5e8a8 into master Apr 19, 2023
4 checks passed
@Obs01ete Obs01ete deleted the pytest_flow branch April 19, 2023 15:27
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.

Add pytest to Github workflow
2 participants