Skip to content

Commit

Permalink
test ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chrpetre committed Nov 13, 2023
1 parent a909012 commit e2b24f9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 20 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -88,7 +78,7 @@ jobs:
with:
library-name: "pytwin"
python-version: ${{ env.MAIN_PYTHON_VERSION }}

tests:
name: Test library
needs: build-library
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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 }}
9 changes: 4 additions & 5 deletions requirements/requirements_doc.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e2b24f9

Please sign in to comment.