diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index ed82bea1b3..b9fa7b4f0b 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -263,9 +263,9 @@ jobs: -DopenPMD_USE_PYTHON=ON \ -DopenPMD_USE_INVASIVE_TESTS=ON cmake --build build --parallel 2 + # Install the Julia side of CxxWrap + julia --eval 'using Pkg; Pkg.add("CxxWrap")' ctest --test-dir build --output-on-failure - /usr/local/julia-1.7.3/bin/julia --eval 'using Pkg; Pkg.add("CxxWrap")' - /usr/local/julia-1.7.3/bin/julia src/binding/julia/tests/minimal_example.jl musllinux_py10: runs-on: ubuntu-20.04 diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 1cf37b3377..7f4962760a 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -49,9 +49,9 @@ jobs: -DopenPMD_USE_PYTHON=ON \ -DopenPMD_USE_INVASIVE_TESTS=ON cmake --build build --parallel 3 - ctest --test-dir build --verbose + # Install the Julia side of CxxWrap julia --eval 'using Pkg; Pkg.add("CxxWrap")' - julia src/binding/julia/tests/minimal_example.jl + ctest --test-dir build --verbose appleclang13_py: runs-on: macos-11 diff --git a/src/binding/julia/tests/minimal_example.jl b/src/binding/julia/tests/minimal_example.jl deleted file mode 100644 index 0734a80ad9..0000000000 --- a/src/binding/julia/tests/minimal_example.jl +++ /dev/null @@ -1,11 +0,0 @@ -module openPMD -using CxxWrap -@wrapmodule("build/libopenPMD.jl") -__init__() = @initcxx -end - -Base.getindex(cont::openPMD.CXX_Container, index::Integer) = openPMD.cxx_getindex(cont, index) - -series = openPMD.CXX_Series("sample.json", openPMD.ACCESS_CREATE) -openPMD.cxx_iterations(series)[100] -openPMD.cxx_flush(series, "{}")