-
Notifications
You must be signed in to change notification settings - Fork 41
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
AWS should only be sanity tested on python3 #915
Conversation
f5ac7cc
to
e7c2d70
Compare
@pabelanger @GomathiselviS would either of you be able to review? And also advise - I'm not sure if the way I've gone about this is the best approach for the objective! (I'd prefer not to have to maintain hundreds of sanity ignores, especially for community.aws which has almost 200 modules) |
you only want to test python3+ in the docker container right? if so, we don't need to create new jobs for that. We can expose a new flag to ansible-test-sanity job to allow the user to pick the version of python to test against. |
@pabelanger Yep - the AWS collections will be py3.6+. So I'd edit the base |
So, i think what we need to do is update our ansible-test command to use ansible-test sanity --requirements --docker -v --python=3.6,3.7,3.8 Do you mind confirming locally, that does what you are looking for? |
is why it doesn't work today. Which we can fix |
ansible-test doesn't take a list for --python |
@pabelanger Should I submit some change to init_test_options.yaml? I'm not sure what our next step here is. |
ansible_test_enable_ara: false | ||
ansible_test_python: 3.6 | ||
|
||
- job: |
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.
Since basically, all these jobs are 99% the same, I would inherit them from the first in the list and just overwrite the two different keys.
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.
tbh I didn't entirely realize I could do that with parent
! Let's see if I did that right or not. :)
I had to disabled the |
@pabelanger ready_for_review |
We're dropping python2 support in the next collection release, for both collections