diff --git a/.github/workflows/port-to-v3.yml b/.github/workflows/port-to-v3.yml index 77d0639..4066eae 100644 --- a/.github/workflows/port-to-v3.yml +++ b/.github/workflows/port-to-v3.yml @@ -32,4 +32,8 @@ jobs: - name: Run Porting to v3 Tests run: | - python -m pytest tests/test_porting_to_v3.py -s \ No newline at end of file + python -m pytest tests/test_porting_to_v3.py -s + + - name: Run Porting of 8 examples + run: | + python -m pytest tests/generation-tests/test_generation.py -s \ No newline at end of file diff --git a/controller_utils/precice_struct/PS_CouplingScheme.py b/controller_utils/precice_struct/PS_CouplingScheme.py index 2022262..914ee7c 100644 --- a/controller_utils/precice_struct/PS_CouplingScheme.py +++ b/controller_utils/precice_struct/PS_CouplingScheme.py @@ -215,4 +215,4 @@ def write_precice_xml_config(self, tag:etree, config, parent): # config: PS_PreC for q_name in config.coupling_quantities: q = config.coupling_quantities[q_name] i = etree.SubElement(post_processing, "data", name=q.instance_name, mesh=q.source_mesh_name) - pass + pass \ No newline at end of file diff --git a/tests/generation-tests/test_generation.py b/tests/generation-tests/test_generation.py index 35b837d..53ae00b 100644 --- a/tests/generation-tests/test_generation.py +++ b/tests/generation-tests/test_generation.py @@ -8,7 +8,7 @@ def test_generate(capsys, example_nr): sys.path.append(str(root)) from FileGenerator import FileGenerator - # Use example_nr directly without an inner loop + # Use example_nr for 8 examples topology_file = root / "controller_utils" / "examples" / f"{example_nr}" / "topology.yaml" output_path = root fileGenerator = FileGenerator(topology_file, output_path)