-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Using pytest-xvfb extension"
This reverts commit 4e2ebab.
- Loading branch information
Showing
2 changed files
with
9 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,12 +110,12 @@ jobs: | |
- name: "Test virtual framebuffer" | ||
run: | | ||
pip install -r .ci/requirements_test_xvfb.txt | ||
python .ci/display_test.py | ||
xvfb-run python .ci/display_test.py | ||
- name: "Install ansys-mapdl-core" | ||
run: | | ||
pip install . | ||
python -c "from ansys.mapdl import core as pymapdl; print(pymapdl.Report())" | ||
xvfb-run python -c "from ansys.mapdl import core as pymapdl; print(pymapdl.Report())" | ||
- name: "Login in Github container registry" | ||
uses: docker/[email protected] | ||
|
@@ -171,7 +171,7 @@ jobs: | |
- name: "Build documentation" | ||
run: | | ||
make -C doc html SPHINXOPTS="-j auto -W --keep-going" | ||
xvfb-run make -C doc html SPHINXOPTS="-j auto -W --keep-going" | ||
- name: "Substitute defective GIF" | ||
run: | | ||
|
@@ -299,14 +299,14 @@ jobs: | |
- name: "Test virtual framebuffer" | ||
run: | | ||
pip install -r .ci/requirements_test_xvfb.txt | ||
python .ci/display_test.py | ||
xvfb-run python .ci/display_test.py | ||
- name: Install ansys-mapdl-core | ||
run: | | ||
python -m pip install build | ||
python -m build | ||
python -m pip install dist/*.whl | ||
python -c "from ansys.mapdl import core as pymapdl; print(pymapdl.Report())" | ||
xvfb-run python -c "from ansys.mapdl import core as pymapdl; print(pymapdl.Report())" | ||
- name: "Login in Github container registry" | ||
uses: docker/[email protected] | ||
|
@@ -341,7 +341,7 @@ jobs: | |
- name: "Unit testing" | ||
run: | | ||
if [[ "${{ matrix.mapdl-version }}" == *"ubuntu"* ]]; then export ON_UBUNTU=true;fi | ||
pytest \ | ||
xvfb-run pytest \ | ||
${{ env.PYTEST_ARGUMENTS }} \ | ||
--cov-report=xml:centos-${{ matrix.mapdl-version }}-remote.xml | ||
|
@@ -465,14 +465,14 @@ jobs: | |
- name: "Test virtual framebuffer" | ||
run: | | ||
python -m pip install -r .ci/requirements_test_xvfb.txt | ||
python .ci/display_test.py | ||
xvfb-run python .ci/display_test.py | ||
- name: "Install ansys-mapdl-core" | ||
run: | | ||
python -m pip install build | ||
python -m build | ||
python -m pip install dist/*.whl | ||
python -c "from ansys.mapdl import core as pymapdl; print(pymapdl.Report())" | ||
xvfb-run python -c "from ansys.mapdl import core as pymapdl; print(pymapdl.Report())" | ||
- name: "Unit testing requirements installation" | ||
run: | | ||
|
@@ -489,7 +489,7 @@ jobs: | |
unset PYMAPDL_START_INSTANCE | ||
export ANSYSLMD_LICENSE_FILE=1055@${{ secrets.LICENSE_SERVER }} | ||
export AWP_ROOT222=/ansys_inc | ||
pytest -k "not test_database and not test_dpf" \ | ||
xvfb-run pytest -k "not test_database and not test_dpf" \ | ||
${{ env.PYTEST_ARGUMENTS }} \ | ||
--cov-report=xml:ubuntu-v22.2.0-local.xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters