Test against multiple versions of operator-courier. #67
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,8 +1,11 @@ | ||||||
[tox] | ||||||
envlist = py36,py37,flake8 | ||||||
envlist = py{36,37}-courier_{released,master},flake8 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, although - I'm not sure how to accomplish that in a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Will do the job, but There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ack - should be fixed. |
||||||
|
||||||
[testenv] | ||||||
deps = .[test] | ||||||
deps = | ||||||
courier_master: -e git://github.com/operator-framework/operator-courier#egg=operatorcourier | ||||||
courier_released: operator-courier | ||||||
.[test] | ||||||
commands = pytest --cov=omps --ignore=tests/integration tests/ | ||||||
|
||||||
[coverage:report] | ||||||
|
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.
I want to point out that this will only work in the flat directory case. In the operator-registry manifest format, we don't return anything on this field.
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.
Ack - @kevinrizza can you recommend an approach that will handle both cases?
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.
Ah, here we're always calling
_flatten_manifest_structure
before accessing the bundle (up inomps/api/v1/push.py
).