Skip to content
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

Merge/retro/pipelines 0.5.dev2 #334

Merged
merged 8 commits into from
Jul 25, 2022

Conversation

cbellot000
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Jul 25, 2022

Codecov Report

Merging #334 (61f81b8) into master (3ca756d) will decrease coverage by 6.05%.
The diff coverage is 75.28%.

@@            Coverage Diff             @@
##           master     #334      +/-   ##
==========================================
- Coverage   86.48%   80.42%   -6.06%     
==========================================
  Files          52       61       +9     
  Lines        5756     6617     +861     
==========================================
+ Hits         4978     5322     +344     
- Misses        778     1295     +517     

@cbellot000 cbellot000 changed the base branch from master to merge/pipelines_0.5.dev2 July 25, 2022 14:15
@cbellot000 cbellot000 marked this pull request as ready for review July 25, 2022 14:16
@cbellot000 cbellot000 merged commit 3fb408d into merge/pipelines_0.5.dev2 Jul 25, 2022
@cbellot000 cbellot000 deleted the merge/retro/pipelines_0.5.dev2 branch July 25, 2022 14:16
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant