From 2e861b4868d9c897791a91d126c060eed41e6587 Mon Sep 17 00:00:00 2001 From: John Bartholomew Date: Wed, 28 Feb 2024 21:31:49 +0000 Subject: [PATCH] copy the python testdata too --- .github/workflows/build_python_wheel.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_python_wheel.yml b/.github/workflows/build_python_wheel.yml index f2ba15558..a461e8f0c 100644 --- a/.github/workflows/build_python_wheel.yml +++ b/.github/workflows/build_python_wheel.yml @@ -29,8 +29,10 @@ jobs: # See https://cibuildwheel.readthedocs.io/en/stable/options/#examples_1 CIBW_SKIP: "*-win32 pp* *-manylinux_i686 *-musllinux_i686 cp36-* cp37-* cp38-*" CIBW_TEST_COMMAND: > - cp {package}/python/_jsonnet_test.py ./jsonnet_test.py && - python ./jsonnet_test.py + mkdir ./testcode && + cp {package}/python/_jsonnet_test.py ./testcode/jsonnet_test.py && + cp -R {package}/python/testdata ./testcode/testdata && + python ./testcode/jsonnet_test.py - uses: actions/upload-artifact@v4 with: