Skip to content

Commit

Permalink
Add constraints-*.txt to run functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
freyes committed Oct 5, 2023
1 parent 2b33642 commit b4b6694
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions constraints-juju-29.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
juju<3.0
1 change: 1 addition & 0 deletions constraints-juju-31.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
juju>=3.1,<3.2
1 change: 1 addition & 0 deletions constraints-juju-32.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
juju>=3.2,<3.3
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ commands =

[testenv:func-target]
basepython = python3
deps = -r{toxinidir}/test-requirements.txt
deps =
-c{toxinidir}/constraints-{env:EXTRA:juju-29}.txt
-r{toxinidir}/test-requirements.txt
commands =
{envdir}/bin/python3 setup.py install
functest-run-suite --keep-model --bundle {posargs}
Expand Down

0 comments on commit b4b6694

Please sign in to comment.