From 6e5b0becdfc3b7077348953d689365b516d7c55c Mon Sep 17 00:00:00 2001 From: ric-evans Date: Wed, 20 Nov 2024 16:26:08 -0600 Subject: [PATCH] fix test data --- .github/workflows/wipac-cicd.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wipac-cicd.yaml b/.github/workflows/wipac-cicd.yaml index f3eebc7..e3b49be 100644 --- a/.github/workflows/wipac-cicd.yaml +++ b/.github/workflows/wipac-cicd.yaml @@ -146,7 +146,8 @@ jobs: mkdir -p "$dpath"/histos/ # create 1-5 pkl files for i in $( seq 1 "$(( (RANDOM % 5) + 1 ))" ); do - echo "$i" > "$dpath/histos/histo_$i.pkl" + random_file=$(find "data/simprod-histograms" -type f -name "*.pkl" | shuf -n 1) + cp "$random_file" "$dpath/histos/histo_$i.pkl" done done tree /tmp/data/sim/