File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -466,13 +466,15 @@ jobs:
466
466
root_dir : ${{ github.workspace }}
467
467
468
468
test_windows :
469
+ if : github.repository == ''
469
470
name : " Local: Build and unit testing on Windows"
470
471
runs-on : [self-hosted, Windows, pymapdl]
471
472
timeout-minutes : 30
472
473
473
474
steps :
474
475
- uses : actions/checkout@v3
475
476
477
+ # Skipping because it is installed locally.
476
478
# - name: Setup Python
477
479
478
480
# with:
@@ -508,15 +510,15 @@ jobs:
508
510
# docker pull ghcr.io/pyansys/dpf-core:22.2dev
509
511
# docker run -d --name dpfserver -p ${{ env.DPF_PORT }}:50052 ghcr.io/pyansys/dpf-core:22.2dev && echo "DPF Server active on port ${{ env.DPF_PORT }}."
510
512
511
- # - name: "Unit testing"
512
- # shell: powershell
513
- # run: |
514
- # set PYMAPDL_PORT=
515
- # set PYMAPDL_START_INSTANCE=
516
- # python -m pytest -v -k "not test_database and not test_dpf" --durations=10 --maxfail=10 --reruns 7 --reruns-delay 3 --only-rerun MapdlExitedError --only-rerun EmptyRecordError --cov=ansys.mapdl.core --cov-report=xml --cov-report=html
513
+ - name : " Unit testing"
514
+ shell : powershell
515
+ run : |
516
+ set PYMAPDL_PORT=
517
+ set PYMAPDL_START_INSTANCE=
518
+ python -m pytest -v -k "not test_database and not test_dpf" --durations=10 --maxfail=10 --reruns 7 --reruns-delay 3 --only-rerun MapdlExitedError --only-rerun EmptyRecordError --cov=ansys.mapdl.core --cov-report=xml --cov-report=html
517
519
518
- # - uses: codecov/codecov-action@v3
519
- # name: "Upload coverage to Codecov"
520
+ - uses : codecov/codecov-action@v3
521
+ name : " Upload coverage to Codecov"
520
522
521
523
release :
522
524
if : github.event_name == 'push' && contains(github.ref, 'refs/tags')
You can’t perform that action at this time.
0 commit comments