Skip to content

Commit 8341198

Browse files
committed
Move test files
1 parent be53e0d commit 8341198

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/pysplashsurf_CI.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ jobs:
136136
CIBW_ENVIRONMENT_LINUX: "PATH=$HOME/.cargo/bin:$PATH"
137137
CIBW_ENVIRONMENT_MACOS: >-
138138
PATH=$HOME/.cargo/bin:$PATH MACOSX_DEPLOYMENT_TARGET=${{ matrix.platform.macosx_deployment_target }}
139-
CIBW_TEST_COMMAND: "cargo install --path {project}/splashsurf && cd {package} && pytest tests"
139+
CIBW_TEST_COMMAND: "cargo install --path {project}/splashsurf && pytest tests"
140+
CIBW_TEST_SOURCES: "tests"
140141
CIBW_TEST_REQUIRES: pytest meshio trimesh rtree scipy
141142
- name: Upload wheels
142143
uses: actions/upload-artifact@v4
File renamed without changes.
File renamed without changes.

pysplashsurf/tests/test_calling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
BINARY_PATH = "splashsurf"
1111
DIR = pathlib.Path(__file__).parent.resolve()
12-
BGEO_PATH = DIR.joinpath("../ParticleData_Fluid_50.bgeo")
13-
VTK_PATH = DIR.joinpath("../ParticleData_Fluid_5.vtk")
12+
BGEO_PATH = DIR.joinpath("ParticleData_Fluid_50.bgeo")
13+
VTK_PATH = DIR.joinpath("ParticleData_Fluid_5.vtk")
1414

1515

1616
def test_bgeo():

0 commit comments

Comments
 (0)