-
Notifications
You must be signed in to change notification settings - Fork 123
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
Fix test suite and move to pytest-salt-factories #227
Conversation
Adds Github Actions workflow to call tox and run tests. Doesn't currently implement coverage functionality - will add that later.
Adds an exclusion for master and python 3.5/3.6 as 3006 onwards requires py 3.7.
Updates pytest-salt url to point to https://github.com/vmware-archive/pytest-salt. Should re-work tests to use pytest-salt-factories.
Updates requirements to match current salt requirements for zeromq and tornado.
Drops testing of python 3.5 and 3.6 - moving to pytest-salt-factories will remove support for those in it's 1.x releases.
Updates testing requirements.txt: * Use modern version of pytest * Use pytest-salt-factories rather than pytest-salt
Updates tox.ini to use new pytest options for output.
Updates test fixture to use pytest-salt-factories rather than the now archived pytest-salt.
Updates client integration tests to work with pytest-salt-factories. Also update xfails to handle newer pytest.
Uses importlib-metadata<5.0.0 for python3.7 on 3004.2 and 3005.1 to work around a bug in salt.utils.entrypoints when using pytest-salt-factories.
@nicholasmhughes - any chance you could take a look at this? @s0undt3ch - if you have a second to look over this to see if I've done anything foolish with pytest-salt-factories, that would be much appreciated! |
@garethgreenaway - could you turn off the requirement for Travis CI on this repo? I don't have sufficient perms for for that and we can merge currently. |
Sorry it took me this long. 🎆 |
Fixes issues with test suite:
Includes changes in #226 that haven't yet been merged, maybe be worth just closing that and merging this instead.