File tree Expand file tree Collapse file tree 6 files changed +143
-85
lines changed
Expand file tree Collapse file tree 6 files changed +143
-85
lines changed Original file line number Diff line number Diff line change 3838 # - 3.1/stable
3939 # - 3.2/stable
4040 # - 3.3/stable
41+ - 3.4/stable
4142 bundle :
4243 - first
4344 - second
5960 # - juju_channel: 3.3/stable
6061 # snap_install_flags: ""
6162 # pip_constraints: constraints-juju33.txt
63+ - juju_channel : 3.4/stable
64+ snap_install_flags : " "
65+ pip_constraints : constraints-juju34.txt
66+ juju3 : 1
6267 env :
6368 TEST_ZAZA_BUG_LP1987332 : " on" # http://pad.lv/1987332
6469 needs : build
9398 set -euxo pipefail
9499 mkdir logs
95100 export PIP_CONSTRAINTS=$(pwd)/${{ matrix.pip_constraints }}
101+ export TEST_JUJU3=${{ matrix.juju3 }}
96102 tox -e func-target -- ${{ matrix.bundle }} | tee logs/tox-output.txt
97103 - name : crashdump on failure
98104 if : failure()
Original file line number Diff line number Diff line change 1+ # NOTE: this constraints file can be (and will be) consumed by downstream users.
2+ #
3+ # Known consumers:
4+ # * zosci-config: job definitions that declare what juju version (snap channel)
5+ # is used in tandem with this constraints file to lockdown python-libjuju
6+ # version.
7+ # * zaza-openstack-tests
8+ #
9+ juju>=3.4.0,<3.5.0
Original file line number Diff line number Diff line change @@ -23,6 +23,11 @@ deps =
2323 -r{toxinidir}/test-requirements.txt
2424commands = pytest --cov =./zaza/ {posargs} {toxinidir}/unit_tests
2525
26+ [testenv:.pkg]
27+ pass_env =
28+ # NOTE: This is required because tox>=4 will not pass env. See https://github.com/tox-dev/tox/issues/2543.
29+ TEST_JUJU3
30+
2631[testenv:py3]
2732basepython = python3
2833
You can’t perform that action at this time.
0 commit comments