From e2b24f95f18fd73ae312f15b4baa85746cce9f43 Mon Sep 17 00:00:00 2001 From: chrpetre Date: Mon, 13 Nov 2023 10:57:20 +0100 Subject: [PATCH] test ci workflow --- .github/workflows/ci.yml | 20 +++++--------------- requirements/requirements_doc.txt | 9 ++++----- 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f8d4f37..45c9cb56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,15 +52,7 @@ jobs: - name: "Install documentation dependencies from requirements file" shell: bash - run: python -m pip install -r requirements/requirements_doc.txt --upgrade - - - name: "Install DPF server" - shell: bash - run: | - cp -r ~ansys/Documents/devEnv/pyansys/pytwin/ansys_dpf_server_win_v2024.1.pre0/ ./ - cd ansys_dpf_server_win_v2024.1.pre0 - pip install -e . - cd .. + run: python -m pip install -r requirements/requirements_doc.txt - name: "Clean documentation build folder" shell: bash @@ -69,8 +61,6 @@ jobs: - name: "Build HTML documentation" shell: bash run: doc/make.bat html - env: - ANSYS_DPF_ACCEPT_LA: Y - name: "Upload HTML documentation artifact" uses: actions/upload-artifact@v3 @@ -88,7 +78,7 @@ jobs: with: library-name: "pytwin" python-version: ${{ env.MAIN_PYTHON_VERSION }} - + tests: name: Test library needs: build-library @@ -116,9 +106,9 @@ jobs: uses: actions/upload-artifact@v3 with: name: ${{ matrix.python-version }}_${{ matrix.os }}_pytest.html - path: .cov/html + path: .cov/html retention-days: 7 - + - name: "Upload coverage to Codecov" uses: codecov/codecov-action@v3 @@ -167,4 +157,4 @@ jobs: uses: ansys/actions/doc-deploy-stable@v4 with: cname: ${{ env.DOCUMENTATION_CNAME }} - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/requirements/requirements_doc.txt b/requirements/requirements_doc.txt index 10d58ba2..f9f666e9 100644 --- a/requirements/requirements_doc.txt +++ b/requirements/requirements_doc.txt @@ -1,15 +1,14 @@ matplotlib==3.7.1 -ansys-fluent-core==0.16.0 -pyvista==0.38.5 -ansys-mapdl-core==0.64.0 +ansys-fluent-core>=0.16.0 +ansys-mapdl-core>=0.64.0,<0.66.0 Sphinx==5.3.0 Sphinx-copybutton==0.5.1 numpydoc==1.5.0 -ansys_sphinx_theme==0.9.5 +ansys_sphinx_theme>=0.9.5 sphinx_gallery==0.12.2 jupyter_sphinx==0.4.0 sphinx-notfound-page==0.8.3 sphinx_autodoc_typehints==1.23.4 sphinxemoji==0.2.0 -ansys-fluent-visualization==0.7.1 +ansys-fluent-visualization>=0.7.1 ansys-dpf-core>=0.9.0