Skip to content

Commit aa17e13

Browse files
Revert "Add pytest-xdist to improve CI speed (#755)" (#1487)
This reverts commit 3767d06.
1 parent 3767d06 commit aa17e13

File tree

5 files changed

+7
-50
lines changed

5 files changed

+7
-50
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
poetry install
4949
5050
- name: Run simulation_params tests
51-
run: poetry run pytest -n logical -rA tests/simulation -vv
51+
run: poetry run pytest -rA tests/simulation -vv
52+
5253
- name: Run flow360_params tests
53-
run: poetry run pytest -n logical -rA --ignore tests/simulation -vv
54+
run: poetry run pytest -rA --ignore tests/simulation -vv

poetry.lock

Lines changed: 2 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ numexpr = "^2.10.1"
6363
sphinxcontrib-mermaid = {version="*", optional = true}
6464
pylatex = "^1.4.2"
6565
prettyprinttree = "^2.0.1"
66-
pytest-xdist = {extras = ["psutil"], version = "^3.6.1"}
6766

6867

6968
[tool.poetry.group.dev.dependencies]

tests/simulation/params/test_automated_farfield.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
UserDefinedField,
3030
)
3131
from flow360.component.simulation.primitives import Surface
32-
from flow360.component.simulation.services import clear_context
3332
from flow360.component.simulation.simulation_params import SimulationParams
3433
from flow360.component.simulation.unit_system import SI_unit_system
3534
from flow360.component.surface_mesh_v2 import SurfaceMeshMetaV2, SurfaceMeshV2
@@ -40,11 +39,6 @@ def change_test_dir(request, monkeypatch):
4039
monkeypatch.chdir(request.fspath.dirname)
4140

4241

43-
@pytest.fixture(autouse=True)
44-
def reset_context():
45-
clear_context()
46-
47-
4842
def test_automated_farfield_surface_usage():
4943
# Test use of GhostSurface in meshing
5044
with pytest.raises(

tests/v1/test_examples.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ def test_om6_release_22_3_3_0_example():
3333
def test_cylinder_example():
3434
Cylinder2D.get_files()
3535
assert os.path.exists(Cylinder2D.case_json)
36-
assert os.path.exists(Cylinder2D.mesh_json)
37-
assert os.path.exists(Cylinder2D.mesh_filename)
36+
assert os.path.exists(OM6wing.mesh_json)
37+
assert os.path.exists(OM6wing.mesh_filename)
3838

3939

4040
def test_airplane_example():

0 commit comments

Comments
 (0)