Skip to content

Commit fc28150

Browse files
ssbarneaabhikdps
andauthored
Adds devel testing pipeline (#508)
Co-authored-by: Abhinav Anand <[email protected]>
1 parent f8db406 commit fc28150

File tree

5 files changed

+36
-25
lines changed

5 files changed

+36
-25
lines changed

.config/constraints.txt

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,25 @@ ansible-navigator==24.12.0
1010
ansible-runner==2.4.0
1111
ansible-sign==0.1.1
1212
asgiref==3.8.1
13-
astroid==3.3.6
13+
astroid==3.3.8
1414
attrs==24.2.0
1515
babel==2.16.0
1616
beautifulsoup4==4.12.3
1717
bindep==2.11.0
1818
black==24.10.0
1919
bracex==2.5.post1
20-
build==1.2.2.post1
2120
cachetools==5.5.0
2221
cairocffi==1.7.1
2322
cairosvg==2.7.1
2423
certifi==2024.12.14
2524
cffi==1.17.1
2625
cfgv==3.4.0
2726
chardet==5.2.0
28-
charset-normalizer==3.4.0
27+
charset-normalizer==3.4.1
2928
click==8.1.7
3029
click-help-colors==0.9.4
3130
colorama==0.4.6
32-
coverage==7.6.9
31+
coverage==7.6.10
3332
cryptography==44.0.0
3433
csscompressor==0.9.5
3534
cssselect2==0.7.0
@@ -46,7 +45,7 @@ enrich==1.2.7
4645
execnet==2.1.1
4746
filelock==3.16.1
4847
ghp-import==2.1.0
49-
griffe==1.5.1
48+
griffe==1.5.4
5049
gunicorn==23.0.0
5150
hjson==3.1.0
5251
htmlmin2==0.1.13
@@ -62,7 +61,7 @@ jsonschema==4.23.0
6261
jsonschema-path==0.3.3
6362
jsonschema-specifications==2023.12.1
6463
lazy-object-proxy==1.10.0
65-
libtmux==0.39.0
64+
libtmux==0.40.1
6665
linkchecker==10.5.0
6766
lockfile==0.12.2
6867
markdown==3.7
@@ -85,10 +84,10 @@ mkdocs-material-extensions==1.3.1
8584
mkdocs-minify-plugin==0.8.0
8685
mkdocs-monorepo-plugin==1.1.0
8786
mkdocstrings==0.27.0
88-
mkdocstrings-python==1.12.2
87+
mkdocstrings-python==1.13.0
8988
molecule==24.12.0
9089
more-itertools==10.5.0
91-
mypy==1.13.0
90+
mypy==1.14.0
9291
mypy-extensions==1.0.0
9392
nodeenv==1.9.1
9493
onigurumacffi==1.3.0
@@ -104,18 +103,16 @@ pathspec==0.12.1
104103
pbr==6.1.0
105104
pexpect==4.9.0
106105
pillow==11.0.0
107-
pip-tools==7.4.1
108106
platformdirs==4.3.6
109107
pluggy==1.5.0
110108
pre-commit==4.0.1
111109
ptyprocess==0.7.0
112110
pycparser==2.22
113-
pydoclint==0.5.12
111+
pydoclint==0.5.14
114112
pygments==2.18.0
115-
pylint==3.3.2
116-
pymdown-extensions==10.12
113+
pylint==3.3.3
114+
pymdown-extensions==10.13
117115
pyproject-api==1.8.0
118-
pyproject-hooks==1.2.0
119116
pytest==8.3.4
120117
pytest-ansible==24.12.0
121118
pytest-instafail==0.5.0
@@ -134,7 +131,7 @@ rich==13.9.4
134131
rpds-py==0.22.3
135132
ruamel-yaml==0.18.6
136133
ruamel-yaml-clib==0.2.12
137-
ruff==0.8.3
134+
ruff==0.8.4
138135
six==1.17.0
139136
soupsieve==2.6
140137
sqlparse==0.5.3
@@ -147,16 +144,15 @@ toml-sort==0.24.2
147144
tomlkit==0.13.2
148145
tox==4.23.2
149146
tox-ansible==24.12.0
150-
types-pyyaml==6.0.12.20240917
147+
types-pyyaml==6.0.12.20241221
151148
types-requests==2.32.0.20241016
152149
tzdata==2024.2
153-
urllib3==2.2.3
150+
urllib3==2.3.0
154151
virtualenv==20.28.0
155152
watchdog==6.0.0
156153
wcmatch==10.0
157154
webencodings==0.5.1
158155
werkzeug==3.1.3
159-
wheel==0.45.1
160156
yamllint==1.35.1
161157
zipp==3.21.0
162158

.config/requirements-test.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ black
33
coverage[toml]
44
libtmux
55
mypy
6-
pip-tools
6+
pip
77
pre-commit
88
pydoclint
99
pylint

.github/workflows/tox.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ jobs:
3333
run_pre: ./tools/test-setup.sh
3434
max_python: "3.13"
3535
default_python: "3.11" # min version, for 'lint' in particular
36-
jobs_producing_coverage: 8
36+
jobs_producing_coverage: 9
3737
other_names_also: |
3838
devspaces
39+
devel
3940
ee-amd64:tox -e ee:runner=devtools-multiarch-builder
4041
ee-arm64:tox -e ee:runner=ubuntu-24.04-arm64-2core
4142
secrets: inherit # needed for logging to the ghcr.io registry

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ repos:
6767
- id: tox-ini-fmt
6868

6969
- repo: https://github.com/astral-sh/ruff-pre-commit
70-
rev: v0.8.3
70+
rev: v0.8.4
7171
hooks:
7272
- id: ruff
7373
args:
@@ -83,21 +83,21 @@ repos:
8383
- id: black
8484

8585
- repo: https://github.com/streetsidesoftware/cspell-cli
86-
rev: v8.16.1
86+
rev: v8.17.0
8787
hooks:
8888
- id: cspell
8989
name: Spell check with cspell
9090

9191
- repo: https://github.com/jsh9/pydoclint
92-
rev: "0.5.12"
92+
rev: "0.5.14"
9393
hooks:
9494
- id: pydoclint
9595
# This allows automatic reduction of the baseline file when needed.
9696
entry: sh -ec "pydoclint -q . && pydoclint --generate-baseline=1 ."
9797
pass_filenames: false
9898

9999
- repo: https://github.com/pycqa/pylint.git
100-
rev: v3.3.2
100+
rev: v3.3.3
101101
hooks:
102102
- id: pylint
103103
args:
@@ -113,7 +113,7 @@ repos:
113113
- pyyaml
114114

115115
- repo: https://github.com/pre-commit/mirrors-mypy.git
116-
rev: v1.13.0
116+
rev: v1.14.0
117117
hooks:
118118
- id: mypy
119119
additional_dependencies:

tox.ini

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,24 @@ env_list =
1111
pkg
1212
ee
1313
devspaces
14+
devel
1415
skip_missing_interpreters = true
1516

1617
[testenv]
17-
description = Run pytest under {basepython}
18+
description =
19+
Run tests
20+
devel: using unreleased direct dependencies
1821
package = editable
22+
deps =
23+
devel: ansible-compat@ git+https://github.com/ansible/ansible-compat.git
24+
devel: ansible-core@ git+https://github.com/ansible/ansible.git
25+
devel: ansible-creator@ git+https://github.com/ansible/ansible-creator.git
26+
devel: ansible-dev-environment@ git+https://github.com/ansible/ansible-dev-environment.git
27+
devel: ansible-lint@ git+https://github.com/ansible/ansible-lint.git
28+
devel: ansible-navigator@ git+https://github.com/ansible/ansible-navigator.git
29+
devel: molecule@ git+https://github.com/ansible/molecule.git
30+
devel: pytest-ansible@ git+https://github.com/ansible/pytest-ansible.git
31+
devel: tox-ansible@ git+https://github.com/ansible/tox-ansible.git
1932
extras =
2033
test
2134
pass_env =
@@ -40,6 +53,7 @@ set_env =
4053
commands_pre =
4154
sh -c "rm -f {envdir}/.coverage* 2>/dev/null || true"
4255
commands =
56+
devel: sh -c "pip freeze | grep '@'"
4357
python -c 'import pathlib; pathlib.Path("{env_site_packages_dir}/cov.pth").write_text("import coverage; coverage.process_startup()")'
4458
coverage run -m pytest {posargs:-n auto}
4559
coverage combine -q --data-file={env:COVERAGE_COMBINED}

0 commit comments

Comments
 (0)