Skip to content

Commit

Permalink
Add integration test for nox
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Jan 11, 2024
1 parent abc834d commit e403bfd
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
2 changes: 2 additions & 0 deletions playbooks/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
18 changes: 18 additions & 0 deletions samples/integration/nox.txt
Original file line number Diff line number Diff line change
@@ -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
9 changes: 7 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ envlist =
pkg
py
integration
minversion = 3.23.0
minversion = 4.11.3
isolated_build = true
skip_missing_interpreters = false
requires =
Expand Down Expand Up @@ -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 =
Expand Down

0 comments on commit e403bfd

Please sign in to comment.