Skip to content

Commit 56ec762

Browse files
committed
Fix order of testdata copy in CI
1 parent 838c613 commit 56ec762

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/conda-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ jobs:
8282
python -m pip install "protobuf==6.31.1" --force-reinstall
8383
python -m pip install dist/*.whl --no-deps
8484
python -m pip install pytest
85-
SITE_DIR=$(python -c "import site; print(site.getsitepackages()[0])")
86-
cp -r tensorflow_data_validation_bak/statistics/generators/testdata $SITE_DIR/tensorflow_data_validation/statistics/generators/
8785
8886
- name: Run tests
8987
shell: bash -l {0}
9088
run: |
9189
mv tensorflow_data_validation tensorflow_data_validation_bak
90+
SITE_DIR=$(python -c "import site; print(site.getsitepackages()[0])")
91+
cp -r tensorflow_data_validation_bak/statistics/generators/testdata $SITE_DIR/tensorflow_data_validation/statistics/generators/
9292
mkdir -p /tmp/test_dir
9393
cd /tmp/test_dir
9494
python -m pytest --pyargs tensorflow_data_validation

0 commit comments

Comments
 (0)