From e403bfd355cb0acdacce417976972e21d40369b2 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Thu, 11 Jan 2024 16:23:25 +0000 Subject: [PATCH] Add integration test for nox --- playbooks/test-integration.yml | 2 ++ samples/integration/nox.txt | 18 ++++++++++++++++++ tox.ini | 9 +++++++-- 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 samples/integration/nox.txt diff --git a/playbooks/test-integration.yml b/playbooks/test-integration.yml index 0b3c2c2..336aa8f 100644 --- a/playbooks/test-integration.yml +++ b/playbooks/test-integration.yml @@ -19,6 +19,8 @@ url: https://github.com/python/typeshed.git - name: flask-babel url: https://github.com/python-babel/flask-babel.git + - name: nox + url: https://github.com/wntrblm/nox tasks: - name: Show cache directory ansible.builtin.debug: diff --git a/samples/integration/nox.txt b/samples/integration/nox.txt new file mode 100644 index 0000000..2adc53a --- /dev/null +++ b/samples/integration/nox.txt @@ -0,0 +1,18 @@ +build +conda_tests-3.10 +conda_tests-3.7 +conda_tests-3.8 +conda_tests-3.9 +cover +docs +install +lint +lint2 +test +tests-3.10 +tests-3.11 +tests-3.12 +tests-3.7 +tests-3.8 +tests-3.9 +uninstall diff --git a/tox.ini b/tox.ini index 4aa23b0..e246e32 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,7 @@ envlist = pkg py integration -minversion = 3.23.0 +minversion = 4.11.3 isolated_build = true skip_missing_interpreters = false requires = @@ -100,11 +100,16 @@ description = Run integrations tests setenv = ANSIBLE_NOCOWS=1 ANSIBLE_FORCE_COLOR=1 +extras = + test deps = - -e .[test] ansible-core>=2.12 + nox commands = + ansible --version + nox --version mk test-integration +package = editable [testenv:pkg] description =