Skip to content

Commit 4d051fe

Browse files
committed
WIP: testing ci x1
1 parent 9907ef9 commit 4d051fe

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/test-pass.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
env:
1111
BUILD_TYPE: Release
1212
VCPKG_FILE: c:/vcpkg/scripts/buildsystems/vcpkg.cmake
13-
TEST_DATA_DIR: ${{ github.workspace }}/tests/test_data
13+
DF_TEST_DATA_DIR: ${{ github.workspace }}/tests/test_data
1414

1515
jobs:
1616
windows:

tests/integration_tests/pybinds_tests/test_pybind_units.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,15 @@
2222
def test_dfb_test_simple():
2323
assert dfb.dfb_test.test() == True, "The test function should return True"
2424

25-
# getting the test data pahts
25+
# getting the test data paths
2626
def get_ply_cloud_roof_quarter_path():
27-
base_test_data_dir = os.getenv('TEST_DATA_DIR', os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', 'test_data')))
27+
base_test_data_dir = os.getenv('DF_TEST_DATA_DIR', os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', 'test_data')))
2828
ply_file_path = os.path.join(base_test_data_dir, "roof_quarter.ply")
2929
if not os.path.exists(ply_file_path):
3030
raise FileNotFoundError(f"PLY file not found at: {ply_file_path}")
31+
# TODO: debug
32+
print(f"base_test_data_dir: {base_test_data_dir}")
33+
print(f"ply_file_path: {ply_file_path}")
3134
return ply_file_path
3235

3336
#------------------------------------------------------------------------------

0 commit comments

Comments
 (0)