File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -342,10 +342,17 @@ jobs:
342
342
LICENSE_SERVER : ${{ secrets.LICENSE_SERVER }}
343
343
MAPDL_IMAGE : ${{ env.DOCKER_PACKAGE }}:${{ matrix.mapdl-version }}
344
344
345
- - name : Unit Testing
345
+ - name : Unit Testing Requirements Installation
346
346
run : |
347
347
pip install -r requirements/requirements_tests.txt
348
- xvfb-run pytest -v --durations=0 --cov=ansys.mapdl.core --cov-report=xml --cov-report=html
348
+
349
+ - name : DPF Server Activation
350
+ run : |
351
+ docker run -d -v `pwd`:/dpf -p ${{ env.DPF_PORT }}:50054 ghcr.io/pyansys/dpf-core/dpf:v2021.1
352
+
353
+ - name : Unit Testing
354
+ run : |
355
+ xvfb-run pytest -v --durations=10 --maxfail=10 --reruns 7 --reruns-delay 3 --only-rerun MapdlExitedError --cov=ansys.mapdl.core --cov-report=xml --cov-report=html
349
356
350
357
- uses : codecov/codecov-action@v3
351
358
if : matrix.mapdl-version == 'v21.2.1'
Original file line number Diff line number Diff line change @@ -7,3 +7,5 @@ pytest-cov==3.0.0
7
7
pyvista==0.36.1
8
8
pyansys-tools-report==0.3.2
9
9
vtk==9.0.3
10
+ pytest-rerunfailures==10.2
11
+ ansys-dpf-core==0.6.0
You can’t perform that action at this time.
0 commit comments