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

Test setup.py as github action when making a new PR #100

Open
marjanalbooyeh opened this issue Nov 29, 2023 · 0 comments
Open

Test setup.py as github action when making a new PR #100

marjanalbooyeh opened this issue Nov 29, 2023 · 0 comments

Comments

@marjanalbooyeh
Copy link
Collaborator

We want to test that setup.py installs the package correctly when we make changes, specially in cases where we add a new directory to the flowermd library. Currently, the pytest.yml github workflow, runs the pytest tests from inside the source code, which does not verify the installation outside of the source code directory.

Solution:

  • Add a step to the .github/worflows/pytest.yml that runs cd .. bash command before running the pytest step.
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

No branches or pull requests

1 participant