-
We've adapted the following workflow template. While sanity tests seem to look at
Unit tests do not, so they're always failing with something along these lines:
What do I need to do so unit tests also refrain from testing against Python |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 14 replies
-
I'm starting to suspect that this is because the underlying library (dependency) does not properly declare it's |
Beta Was this translation helpful? Give feedback.
-
I'm starting to understand what's happening: the |
Beta Was this translation helpful? Give feedback.
-
It seems like I'm making progress, I guess unit-test ignores also go under |
Beta Was this translation helpful? Give feedback.
-
I think I'm very close, our own unit tests are failing because they're running under Python EDIT: unfortunately defining:
Does not really prevent the runner from trying to run tests with Python 2.6:
|
Beta Was this translation helpful? Give feedback.
I'm starting to understand what's happening: the
tests/config.yml
feature was introduced only in Ansible2.12
. For all other versions (2.9, 2.10, 2.11) - I will need to add a X-Y.txt undertests/sanity
for sanity-tests as explained by @tadeboro, but how can I do the same for unit tests?