-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a retrocompatibility workflow #310
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Trigger also for release/ branches
Codecov Report
@@ Coverage Diff @@
## master #310 +/- ##
==========================================
+ Coverage 86.48% 86.50% +0.01%
==========================================
Files 52 52
Lines 5756 5756
==========================================
+ Hits 4978 4979 +1
+ Misses 778 777 -1 |
anslpa
approved these changes
Jul 19, 2022
PProfizi
added a commit
that referenced
this pull request
Jul 19, 2022
* Add a retro-compatibility workflow * Trigger on pull_requests to retro/ branches Trigger also for release/ branches * Update pydpf-actions to 2.1.1 * Update to trigger on pull_requests FROM a retro or release branch * Fix vtk version in setup.py extras_require[plotting] * Add concurrency criterion * Revert Fix vtk version in setup.py extras_require[plotting]: vtk 9.0.3 not available for Python 3.10 * Fix unbuntu doctest error due to unsorted available_property_fields list * Rename job * Update run criteria * Update run criteria * Go back to Windows 3.8 only * Add empty line at end-of-file Co-authored-by: Paul P <74507390+TheGoldfish01@users.noreply.github.com> (cherry picked from commit 3ca756d)
cbellot000
added a commit
that referenced
this pull request
Jul 26, 2022
* Change ANSYS_VERSION to 222 * Add step for pygate 0.1.dev1 installation * Add step for pygate 0.1.dev1 installation * Add trigger for ci * Add trigger for ci * Fix conditional for gatebin install steps * Fix gatebin install steps * Add the wheels temporarily * Fix step conditional * Change requirement to ansys-dpf-gate==0.1.dev1 * Add pygate steps to documentation job * Run Doc on windows-latest * Move build installation of pygate to pydpf-actions * Fix conditionals * Update gate wheel * Add up-to-date ansys-grpc-dpf wheel * Remove ANSYS_VERSION env setter from build_doc job * Add install of local ansys-grpc-dpf wheel * Solve docstring test for download_file * Solve docstring test for download_file * Solve docstring test for download_file * Solve docstring test for download_file * Update pygate wheel * Fix doctests * Fix doctests * Fix doctests * Fix doctests * Fix doctests * pytest.ini: add doctest NORMALIZE_WHITESPACE and ELLIPSIS by default * remove inline #doctest: options * Fix doctest * Fix doctest * Fix doctest * Fix doctest * Fix doctest * Fix doctest * use v2.2 pydpf-actions * Target potential failing test * Change local_test_repo to False * Comment-out segfault test * Remove contrain on ansys-dpf-gate version in setup.py install_requires * Try-out DEBUG option for pydpf-actions/test_package * Revert "Comment-out segfault test" This reverts commit 5f03a49. * Revert "Target potential failing test" This reverts commit fac439a. * Fix test_busy_port from lea's PR on TFS * Fix conftest according to TFS PR form Lea * Fix gatebin tests from TFS PR Lea * Update wheels * Remove Report from test in install package * Fix flake8 * Try-out on Python 3.7 same as TFS * Bump imageio from 2.19.3 to 2.19.5 (#312) Bumps [imageio](https://github.com/imageio/imageio) from 2.19.3 to 2.19.5. - [Release notes](https://github.com/imageio/imageio/releases) - [Changelog](https://github.com/imageio/imageio/blob/master/CHANGELOG.md) - [Commits](imageio/imageio@v2.19.3...v2.19.5) --- updated-dependencies: - dependency-name: imageio dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cherry picked from commit 9e6584a) * MAINT: collect dependencies under a requirements/ directory (#307) * Collect dependencies under requirements/ dir * Enhance .gitigore * Update actions to new requirements layout * Update documentation * Update action versions (cherry picked from commit 79e5bfc) * Bump sphinx-notfound-page from 0.8 to 0.8.3 (#308) Bumps [sphinx-notfound-page](https://github.com/readthedocs/sphinx-notfound-page) from 0.8 to 0.8.3. - [Release notes](https://github.com/readthedocs/sphinx-notfound-page/releases) - [Changelog](https://github.com/readthedocs/sphinx-notfound-page/blob/main/CHANGELOG.rst) - [Commits](readthedocs/sphinx-notfound-page@0.8...0.8.3) --- updated-dependencies: - dependency-name: sphinx-notfound-page dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cherry picked from commit 693b83d) * Bump coverage from 6.4.1 to 6.4.2 (#306) Bumps [coverage](https://github.com/nedbat/coveragepy) from 6.4.1 to 6.4.2. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](nedbat/coveragepy@6.4.1...6.4.2) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cherry picked from commit c3d434f) * Bump actions/setup-python from 4.0.0 to 4.1.0 (#302) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.0.0 to 4.1.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v4...v4.1.0) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cherry picked from commit 251b1fd) * Add a retrocompatibility workflow (#310) * Add a retro-compatibility workflow * Trigger on pull_requests to retro/ branches Trigger also for release/ branches * Update pydpf-actions to 2.1.1 * Update to trigger on pull_requests FROM a retro or release branch * Fix vtk version in setup.py extras_require[plotting] * Add concurrency criterion * Revert Fix vtk version in setup.py extras_require[plotting]: vtk 9.0.3 not available for Python 3.10 * Fix unbuntu doctest error due to unsorted available_property_fields list * Rename job * Update run criteria * Update run criteria * Go back to Windows 3.8 only * Add empty line at end-of-file Co-authored-by: Paul P <74507390+TheGoldfish01@users.noreply.github.com> (cherry picked from commit 3ca756d) * Use pydpf-actions @v2.2 for retro.yml * Add kill-all-servers steps * Add search for AWP_ROOT221 and others in decreasing order as a last resort. * Reduces restrains in requirements_docs.txt * Try fix doc generation for 06-stress_gradient_path.py * Try fix doc generation for 06-stress_gradient_path.py * Revert "Try fix doc generation for 06-stress_gradient_path.py" This reverts commit 7d7f959. * Revert "Try fix doc generation for 06-stress_gradient_path.py" This reverts commit 6d3f0f7. * Fix doc generation * Use wheel and wheelhouse options of build_package action v2.2 * Set wheelhouse generation to false while gate not available on PyPi * REtro now does not test docstrings * Update wheels of gate, grpc, * Move find_ansys() to last resort. If only AWP_ROOT221 is declared, it should not prioritize a 222 install in the default directory. * Restrict TestServerConfigs tests to servers >= 4.0 * Moved ansys_path retrieval logic to misc along with find_ansys, in get_ansys_path. Is now used to correctly determine if MAPDL is available with the installation actually used for testing. * remove rogue prints * Fixture for server<4.0 now only use global server * Rename test_remote_workflow.py * Fix import * Conftest autouse fixture count_servers * Set ansys_path argument of get_ansys_path to None by default * Revert "Conftest autouse fixture count_servers" This reverts commit c4b1f07. * Conftest actually count_servers with fixture * Fix flake8 * Fix flake8 * Remove code merged by error. * Remove test_set_coordinates_field_meshed_region which should come with new commits from TFS * Remove assert nb_servers=1 from count_servers fixture * Move and rename test_launch_server_not_install to test_launcher.py as test_launch_server_full_path * Fix GrpcServer.shutdown() * Add a version test before trying to launch an InProcess server * Remove version test, add warning to get info on ansys_path used. * fix circular references * ADD WARNINGS FOR DEBUG * ADD TIMESTAMP * Use build_package@v2.2.1 * Revert "Use build_package@v2.2.1" This reverts commit e8e5835. * Revert "ADD TIMESTAMP" This reverts commit 4ce75de. * Revert "ADD WARNINGS FOR DEBUG" This reverts commit c02c4a0. * changes refs * Remove warning used for debug * Fix test_start_local_failed_executable * Fix test_busy_port * fixes * Try actions@v2.2.1 * styling and spelling * Up doc install-dpf-server to v2.2 * Revert "Try actions@v2.2.1" This reverts commit 4d28452. * disable cache * dummy push * reremove cache * Set autouse of count_servers fixture to false * add cleanup * fix cleanup * cleanup * shutdown all * Fix codacy errors * fix * cleanup workflow * Add back test_launch_server_not_install and rename it as test_launcher_server_full_path * fixes * dummy commit * Revert "dummy commit" This reverts commit 969a800. * Refactor get_ansys_path and find_ansys * fix global server * fix doctests * skip tests * Add back a print in test_print_data_sources_path * fix merge * fix * dummy * Merge/retro/pipelines 0.5.dev2 (#334) * fix retro, remove doctests * fix ci version * dummy * doctest false * try * Revert "dummy" This reverts commit 1dc9424. * boolean * bash if * add comment * skip failing test * restart * fixes * fix * fixes Co-authored-by: paul.profizi <paul.profizi@ansys.com> Co-authored-by: Paul P <74507390+TheGoldfish01@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jorge Martínez <28702884+jorgepiloto@users.noreply.github.com> Co-authored-by: PProfizi <100710998+pprofizi@users.noreply.github.com>
cbellot000
added a commit
that referenced
this pull request
Jul 26, 2022
* Change ANSYS_VERSION to 222 * Add step for pygate 0.1.dev1 installation * Add step for pygate 0.1.dev1 installation * Add trigger for ci * Add trigger for ci * Fix conditional for gatebin install steps * Fix gatebin install steps * Add the wheels temporarily * Fix step conditional * Change requirement to ansys-dpf-gate==0.1.dev1 * Add pygate steps to documentation job * Run Doc on windows-latest * Move build installation of pygate to pydpf-actions * Fix conditionals * Update gate wheel * Add up-to-date ansys-grpc-dpf wheel * Remove ANSYS_VERSION env setter from build_doc job * Add install of local ansys-grpc-dpf wheel * Solve docstring test for download_file * Solve docstring test for download_file * Solve docstring test for download_file * Solve docstring test for download_file * Update pygate wheel * Fix doctests * Fix doctests * Fix doctests * Fix doctests * Fix doctests * pytest.ini: add doctest NORMALIZE_WHITESPACE and ELLIPSIS by default * remove inline #doctest: options * Fix doctest * Fix doctest * Fix doctest * Fix doctest * Fix doctest * Fix doctest * use v2.2 pydpf-actions * Target potential failing test * Change local_test_repo to False * Comment-out segfault test * Remove contrain on ansys-dpf-gate version in setup.py install_requires * Try-out DEBUG option for pydpf-actions/test_package * Revert "Comment-out segfault test" This reverts commit 5f03a49. * Revert "Target potential failing test" This reverts commit fac439a. * Fix test_busy_port from lea's PR on TFS * Fix conftest according to TFS PR form Lea * Fix gatebin tests from TFS PR Lea * Update wheels * Remove Report from test in install package * Fix flake8 * Try-out on Python 3.7 same as TFS * Bump imageio from 2.19.3 to 2.19.5 (#312) Bumps [imageio](https://github.com/imageio/imageio) from 2.19.3 to 2.19.5. - [Release notes](https://github.com/imageio/imageio/releases) - [Changelog](https://github.com/imageio/imageio/blob/master/CHANGELOG.md) - [Commits](imageio/imageio@v2.19.3...v2.19.5) --- updated-dependencies: - dependency-name: imageio dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cherry picked from commit 9e6584a) * MAINT: collect dependencies under a requirements/ directory (#307) * Collect dependencies under requirements/ dir * Enhance .gitigore * Update actions to new requirements layout * Update documentation * Update action versions (cherry picked from commit 79e5bfc) * Bump sphinx-notfound-page from 0.8 to 0.8.3 (#308) Bumps [sphinx-notfound-page](https://github.com/readthedocs/sphinx-notfound-page) from 0.8 to 0.8.3. - [Release notes](https://github.com/readthedocs/sphinx-notfound-page/releases) - [Changelog](https://github.com/readthedocs/sphinx-notfound-page/blob/main/CHANGELOG.rst) - [Commits](readthedocs/sphinx-notfound-page@0.8...0.8.3) --- updated-dependencies: - dependency-name: sphinx-notfound-page dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cherry picked from commit 693b83d) * Bump coverage from 6.4.1 to 6.4.2 (#306) Bumps [coverage](https://github.com/nedbat/coveragepy) from 6.4.1 to 6.4.2. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](nedbat/coveragepy@6.4.1...6.4.2) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cherry picked from commit c3d434f) * Bump actions/setup-python from 4.0.0 to 4.1.0 (#302) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.0.0 to 4.1.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v4...v4.1.0) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cherry picked from commit 251b1fd) * Add a retrocompatibility workflow (#310) * Add a retro-compatibility workflow * Trigger on pull_requests to retro/ branches Trigger also for release/ branches * Update pydpf-actions to 2.1.1 * Update to trigger on pull_requests FROM a retro or release branch * Fix vtk version in setup.py extras_require[plotting] * Add concurrency criterion * Revert Fix vtk version in setup.py extras_require[plotting]: vtk 9.0.3 not available for Python 3.10 * Fix unbuntu doctest error due to unsorted available_property_fields list * Rename job * Update run criteria * Update run criteria * Go back to Windows 3.8 only * Add empty line at end-of-file Co-authored-by: Paul P <74507390+TheGoldfish01@users.noreply.github.com> (cherry picked from commit 3ca756d) * Use pydpf-actions @v2.2 for retro.yml * Add kill-all-servers steps * Add search for AWP_ROOT221 and others in decreasing order as a last resort. * Reduces restrains in requirements_docs.txt * Try fix doc generation for 06-stress_gradient_path.py * Try fix doc generation for 06-stress_gradient_path.py * Revert "Try fix doc generation for 06-stress_gradient_path.py" This reverts commit 7d7f959. * Revert "Try fix doc generation for 06-stress_gradient_path.py" This reverts commit 6d3f0f7. * Fix doc generation * Use wheel and wheelhouse options of build_package action v2.2 * Set wheelhouse generation to false while gate not available on PyPi * REtro now does not test docstrings * Update wheels of gate, grpc, * Move find_ansys() to last resort. If only AWP_ROOT221 is declared, it should not prioritize a 222 install in the default directory. * Restrict TestServerConfigs tests to servers >= 4.0 * Moved ansys_path retrieval logic to misc along with find_ansys, in get_ansys_path. Is now used to correctly determine if MAPDL is available with the installation actually used for testing. * remove rogue prints * Fixture for server<4.0 now only use global server * Rename test_remote_workflow.py * Fix import * Conftest autouse fixture count_servers * Set ansys_path argument of get_ansys_path to None by default * Revert "Conftest autouse fixture count_servers" This reverts commit c4b1f07. * Conftest actually count_servers with fixture * Fix flake8 * Fix flake8 * Remove code merged by error. * Remove test_set_coordinates_field_meshed_region which should come with new commits from TFS * Remove assert nb_servers=1 from count_servers fixture * Move and rename test_launch_server_not_install to test_launcher.py as test_launch_server_full_path * Fix GrpcServer.shutdown() * Add a version test before trying to launch an InProcess server * Remove version test, add warning to get info on ansys_path used. * ADD WARNINGS FOR DEBUG * ADD TIMESTAMP * Use build_package@v2.2.1 * Revert "Use build_package@v2.2.1" This reverts commit e8e5835. * Revert "ADD TIMESTAMP" This reverts commit 4ce75de. * Revert "ADD WARNINGS FOR DEBUG" This reverts commit c02c4a0. * Remove warning used for debug * Fix test_start_local_failed_executable * Fix test_busy_port * Try actions@v2.2.1 * Up doc install-dpf-server to v2.2 * Revert "Try actions@v2.2.1" This reverts commit 4d28452. * Set autouse of count_servers fixture to false * Fix codacy errors * Add back test_launch_server_not_install and rename it as test_launcher_server_full_path * Refactor get_ansys_path and find_ansys * Add back a print in test_print_data_sources_path * find_ansys does not filter out the current ansys version for AWP_ROOT * Remove unused fixtures * Set DOCTEST in retro back to true * Revert "Set DOCTEST in retro back to true" This reverts commit 53ed94a. * Test conditionals * Set wheelhouse to default (false) * Set doctest to default (true) * Revert "Set doctest to default (true)" This reverts commit 3c9460d. * Set doctest to false * Revert "Remove unused fixtures" This reverts commit 78894f6. * Remove fixture config_server_type * Refactor test job using new smaller actions * fix ci * dummy * revert dummy * dummy * pre command * doc and backward comp * backward comp fixes * update doc and ansys.grpc.dpf * fix doc * fix merge Co-authored-by: paul.profizi <paul.profizi@ansys.com> Co-authored-by: Paul P <74507390+TheGoldfish01@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jorge Martínez <28702884+jorgepiloto@users.noreply.github.com> Co-authored-by: PProfizi <100710998+pprofizi@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a retro-compatibility test workflow for 221 on all supported configurations.
It triggers for: