File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11
11
jobs :
12
12
call :
13
13
name : Call Spack CI
14
- uses : LIHPC-Computational-Geometry/spack_recipes/.github/workflows/spack-reusable.yml@main
14
+ uses : LIHPC-Computational-Geometry/spack_recipes/.github/workflows/spack-reusable.yml@add_use_of_mambo_step_repository
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ enable_testing()
7
7
find_program (PYTEST_LOCATION pytest )
8
8
message ("PYTEST_LOCATION= ${PYTEST_LOCATION} " )
9
9
message ("ENVIRONMENT PYTHONPATH ${PYTHONPATH} " )
10
+ message ("ENVIRONMENT MAGIX3D_TEST_DATA_DIR ${MAGIX3D_TEST_DATA_DIR} " )
10
11
#message("ENVIRONMENT PYTHONPATH ${CMAKE_PREFIX_PATH}/lib/python3.10/site-packages:$PYTHONPATH")
11
12
12
13
add_test (NAME test_link
Original file line number Diff line number Diff line change 1
1
import os
2
2
import pyMagix3D as Mgx3D
3
3
4
- step_file_name = "mambo/Simple/S45 .step"
4
+ step_file_name = "mambo/Simple/S39 .step"
5
5
6
6
def test_curves_fuse_s45 ():
7
7
ctx = Mgx3D .getStdContext ()
8
8
ctx .clearSession () # Clean the session after the previous test
9
9
gm = ctx .getGeomManager ()
10
10
tm = ctx .getTopoManager ()
11
11
12
+ magix3d_test_data_dir = os .environ ['MAGIX3D_TEST_DATA_DIR' ]
13
+ full_path = os .path .join (magix3d_test_data_dir , step_file_name )
14
+
12
15
ctx .setLengthUnit (Mgx3D .Unit .meter )
13
- gm .importSTEP (step_file_name )
16
+ gm .importSTEP (full_path )
14
17
assert gm .getNbVolumes ()== 1
You can’t perform that action at this time.
0 commit comments