Skip to content

fix: subs cli test #4816

fix: subs cli test

fix: subs cli test #4816

Triggered via pull request October 17, 2024 20:23
Status Failure
Total duration 10m 41s
Artifacts 15

ci_cd.yml

on: pull_request
Save variations of revn
0s
Save variations of revn
Documentation Style Check
15s
Documentation Style Check
Update CHANGELOG for new tag
0s
Update CHANGELOG for new tag
Vulnerabilities
27s
Vulnerabilities
config-matrix
0s
config-matrix
Matrix: Build and Smoke tests
Matrix: Launch testing and coverage
Documentation
8m 6s
Documentation
Matrix: remote-connect
Matrix: Embedding scripts testing and coverage
Matrix: Embedding testing and coverage
Package library
0s
Package library
Merging coverage
0s
Merging coverage
Release project
0s
Release project
Upload dev documentation
0s
Upload dev documentation
Upload release documentation
0s
Upload release documentation
Fit to window
Zoom out
Zoom in

Annotations

24 errors and 7 warnings
test_cli.test_ideconfig_default: tests/test_cli.py#L424
TypeError: 'in <string>' requires string as left operand, not int
Embedding scripts testing and coverage (3.11)
Process completed with exit code 1.
Embedding scripts testing and coverage (3.11)
❌ Tests reported 1 failures
test_cli.test_ideconfig_cli_version_exception: tests/test_cli.py#L290
Failed: DID NOT RAISE <class 'Exception'>
test_cli.test_ideconfig_cli_user_settings: tests/test_cli.py#L320
assert 'PyMechanical Stubs are not available for 251.' in 'Update /github/home/.config/Code/User/settings.json with the following information:\n\n{\n "python.autoComplete.extraPaths": [\n "/env/lib/python3.11/site-packages/ansys/mechanical/stubs/v251"\n ],\n "python.analysis.extraPaths": [\n "/env/lib/python3.11/site-packages/ansys/mechanical/stubs/v251"\n ]\n}\n'
test_cli.test_ideconfig_cli_workspace_settings: tests/test_cli.py#L348
assert 'PyMechanical Stubs are not available for 251.' in 'Update /__w/pymechanical/pymechanical/.vscode/settings.json with the following information:\n\nNote: Please ensure the .vscode folder is in the root of your project or repository.\n\n{\n "python.autoComplete.extraPaths": [\n "/env/lib/python3.11/site-packages/ansys/mechanical/stubs/v251"\n ],\n "python.analysis.extraPaths": [\n "/env/lib/python3.11/site-packages/ansys/mechanical/stubs/v251"\n ]\n}\n'
test_cli.test_ideconfig_venv: tests/test_cli.py#L389
AssertionError: assert 'PyMechanical Stubs are not available for 251.' in ''
test_cli.test_ideconfig_default: tests/test_cli.py#L422
AssertionError: assert 'PyMechanical Stubs are not available for 251.' in ''
test_cli.test_ideconfig_default: tests/test_cli.py#L424
TypeError: 'in <string>' requires string as left operand, not int
test_cli.test_ideconfig_cli_version_exception: tests/test_cli.py#L290
Failed: DID NOT RAISE <class 'Exception'>
test_cli.test_ideconfig_cli_user_settings: tests/test_cli.py#L320
assert 'PyMechanical Stubs are not available for 251.' in 'Update /github/home/.config/Code/User/settings.json with the following information:\n\n{\n "python.autoComplete.extraPaths": [\n "/env/lib/python3.10/site-packages/ansys/mechanical/stubs/v251"\n ],\n "python.analysis.extraPaths": [\n "/env/lib/python3.10/site-packages/ansys/mechanical/stubs/v251"\n ]\n}\n'
test_cli.test_ideconfig_cli_workspace_settings: tests/test_cli.py#L348
assert 'PyMechanical Stubs are not available for 251.' in 'Update /__w/pymechanical/pymechanical/.vscode/settings.json with the following information:\n\nNote: Please ensure the .vscode folder is in the root of your project or repository.\n\n{\n "python.autoComplete.extraPaths": [\n "/env/lib/python3.10/site-packages/ansys/mechanical/stubs/v251"\n ],\n "python.analysis.extraPaths": [\n "/env/lib/python3.10/site-packages/ansys/mechanical/stubs/v251"\n ]\n}\n'
test_cli.test_ideconfig_venv: tests/test_cli.py#L389
AssertionError: assert 'PyMechanical Stubs are not available for 251.' in ''
test_cli.test_ideconfig_default: tests/test_cli.py#L422
AssertionError: assert 'PyMechanical Stubs are not available for 251.' in ''
Embedding scripts testing and coverage (3.10)
❌ Tests reported 1 failures
Embedding scripts testing and coverage (3.10)
Process completed with exit code 1.
test_cli.test_ideconfig_default: tests/test_cli.py#L424
TypeError: 'in <string>' requires string as left operand, not int
Embedding scripts testing and coverage (3.12)
Process completed with exit code 1.
Embedding scripts testing and coverage (3.12)
❌ Tests reported 1 failures
test_cli.test_ideconfig_cli_version_exception: tests/test_cli.py#L290
Failed: DID NOT RAISE <class 'Exception'>
test_cli.test_ideconfig_cli_user_settings: tests/test_cli.py#L320
assert 'PyMechanical Stubs are not available for 251.' in 'Update /github/home/.config/Code/User/settings.json with the following information:\n\n{\n "python.autoComplete.extraPaths": [\n "/env/lib/python3.12/site-packages/ansys/mechanical/stubs/v251"\n ],\n "python.analysis.extraPaths": [\n "/env/lib/python3.12/site-packages/ansys/mechanical/stubs/v251"\n ]\n}\n'
test_cli.test_ideconfig_cli_workspace_settings: tests/test_cli.py#L348
assert 'PyMechanical Stubs are not available for 251.' in 'Update /__w/pymechanical/pymechanical/.vscode/settings.json with the following information:\n\nNote: Please ensure the .vscode folder is in the root of your project or repository.\n\n{\n "python.autoComplete.extraPaths": [\n "/env/lib/python3.12/site-packages/ansys/mechanical/stubs/v251"\n ],\n "python.analysis.extraPaths": [\n "/env/lib/python3.12/site-packages/ansys/mechanical/stubs/v251"\n ]\n}\n'
test_cli.test_ideconfig_venv: tests/test_cli.py#L389
AssertionError: assert 'PyMechanical Stubs are not available for 251.' in ''
test_cli.test_ideconfig_default: tests/test_cli.py#L422
AssertionError: assert 'PyMechanical Stubs are not available for 251.' in ''
[vale] doc/source/kil/index.rst#L39: doc/source/kil/index.rst#L39
[Google.We] Try to avoid using first-person plural like 'our'.
[vale] doc/source/kil/index.rst#L40: doc/source/kil/index.rst#L40
[Google.We] Try to avoid using first-person plural like 'We'.
[vale] doc/source/kil/pymechanical.rst#L9: doc/source/kil/pymechanical.rst#L9
[Google.We] Try to avoid using first-person plural like 'We'.
[vale] doc/source/kil/pymechanical.rst#L13: doc/source/kil/pymechanical.rst#L13
[Google.Headings] 'v0.11.x' should use sentence-style capitalization.
[vale] doc/source/kil/mechanical.rst#L15: doc/source/kil/mechanical.rst#L15
[Google.Headings] '24R2' should use sentence-style capitalization.
[vale] doc/source/kil/mechanical.rst#L26: doc/source/kil/mechanical.rst#L26
[Google.Headings] '24R1' should use sentence-style capitalization.
[vale] doc/source/user_guide_embedding/configuration.rst#L3: doc/source/user_guide_embedding/configuration.rst#L3
[Google.Headings] 'Addin configuration' should use sentence-style capitalization.

Artifacts

Produced during runtime
Name Size
ansys-mechanical-core-v0.12.dev0-wheelhouse-ubuntu-latest-3.10
8.58 MB
ansys-mechanical-core-v0.12.dev0-wheelhouse-ubuntu-latest-3.11
8.59 MB
ansys-mechanical-core-v0.12.dev0-wheelhouse-ubuntu-latest-3.12
8.58 MB
ansys-mechanical-core-v0.12.dev0-wheelhouse-windows-latest-3.10
6.93 MB
ansys-mechanical-core-v0.12.dev0-wheelhouse-windows-latest-3.11
6.93 MB
ansys-mechanical-core-v0.12.dev0-wheelhouse-windows-latest-3.12
6.93 MB
coverage-file-tests
3.56 KB
coverage-file-tests-embedding
3.52 KB
coverage-file-tests-remote-session-launch
3.65 KB
coverage-tests
285 KB
coverage-tests-embedding
290 KB
coverage-tests-remote-session-launch
285 KB
documentation-html
8.7 MB
documentation-pdf
679 KB
mechanical_tests_log-24.2.0
64.3 KB