File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 6565
6666 - name : Unit testing
6767 run : |
68- python -m pytest -vx --cov=${{ env.PACKAGE_NAMESPACE }} --cov-report=term --cov-report=xml:.cov/coverage.xml --cov-report=html:.cov/html
68+ python -m pytest -vx --cov=${{ env.PACKAGE_NAMESPACE }} --cov-report=term --cov-report=xml:.cov/coverage.xml --cov-report=html:.cov/html -m "not requires_mapdl"
6969
7070 - name : Upload coverage reports to Codecov
7171 uses : codecov/codecov-action@v5
Original file line number Diff line number Diff line change 4040)
4141
4242
43+ @pytest .mark .requires_mapdl
4344@skip_if_not_ansys_local
4445def test_find_mapdl ():
4546 """Test that the function finds the MAPDL executable and returns its path and version."""
@@ -48,12 +49,14 @@ def test_find_mapdl():
4849 assert ver != ""
4950
5051
52+ @pytest .mark .requires_mapdl
5153@skip_if_not_ansys_local
5254def test_get_available_ansys_installation ():
5355 """Test that the function returns a list of available Ansys installations."""
5456 assert get_available_ansys_installations ()
5557
5658
59+ @pytest .mark .requires_mapdl
5760@skip_if_not_ansys_local
5861@pytest .mark .linux
5962def test_save_mapdl_path ():
You can’t perform that action at this time.
0 commit comments