openstack-charmers / zaza

A Python3-only functional test framework for Charms
Apache License 2.0
11 stars 47 forks source link

Misc fixes for failing github workflows #593

Closed javacruft closed 1 year ago

javacruft commented 1 year ago

Add separate workflow for testing on Python 3.6 as this requires an older Ubuntu release.

Fixup unit tests for compatibility with newer versions of mock.

Drop latest/stable functional test targets - this is actually 2.9.x of Juju and is already covered by the 2.9 targets and we want to avoid suddenly picking up a new Juju version because this will break with the new approach to version alignment in the Python module for Juju.

Drop 2.8 functional test target - its broken and we don't really support this version any longer.

Fixup iptables forwarding issues from LXD containers with a flush and re-create of rules.

codecov[bot] commented 1 year ago

Codecov Report

Base: 89.23% // Head: 89.23% // No change to project coverage :thumbsup:

Coverage data is based on head (9277a94) compared to base (e7b296e). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #593 +/- ## ======================================= Coverage 89.23% 89.23% ======================================= Files 44 44 Lines 4645 4645 ======================================= Hits 4145 4145 Misses 500 500 ``` Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openstack-charmers). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openstack-charmers)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.