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

Refactor for testing and introduce pytest workflow #96

Closed

Conversation

eivindjahren
Copy link
Contributor

@eivindjahren eivindjahren commented Jul 17, 2022

This is admittedly a big PR, and I appologize.

I wanted to do the same change of setup as in python-rope/ropemode#21 where pytest and github actions are introduced. However, ropevim do have any tests (!) so I started refactoring the code in order to be able to test it. It ended up being a rather large refactoring.

Because ftplugin is changed, there will have to be a release to pypi rather quickly after merging the PR. This is because plugin managers fetch from main so anyone attempting to install ropevim will have incompatible versions until they run pip install --upgrade ropevim. I have therefore taken the liberty of bumping the version and creating an error message to help people upgrade the ropevim pip package.

@eivindjahren eivindjahren force-pushed the setup_github_actions branch 4 times, most recently from 5a39819 to 842feda Compare July 18, 2022 18:17
@eivindjahren eivindjahren marked this pull request as ready for review July 18, 2022 18:26
@lieryan lieryan assigned lieryan and unassigned lieryan Jul 27, 2022
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.

None yet

2 participants