Skip to content

Commit 0352150

Browse files
authored
Merge pull request #31268 from ror-community/20260301-fix-updates-workflow-validation-trigger
Fix/limit tests that run on updates CSVs
2 parents f051b9a + f388373 commit 0352150

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

.github/workflows/curation-validation.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,19 @@ jobs:
8282
8383
mkdir -p "${OUTPUT_DIR}/${BASENAME}"
8484
85-
curation-validation \
86-
-c "$csv" \
87-
-o "${OUTPUT_DIR}/${BASENAME}" \
88-
-u "${{ secrets.GEONAMES_USER }}" || true
85+
if [ "$BASENAME" = "update_records_metadata" ]; then
86+
curation-validation \
87+
-c "$csv" \
88+
-o "${OUTPUT_DIR}/${BASENAME}" \
89+
-u "${{ secrets.GEONAMES_USER }}" \
90+
--test input_file_structure \
91+
--test validate_fields || true
92+
else
93+
curation-validation \
94+
-c "$csv" \
95+
-o "${OUTPUT_DIR}/${BASENAME}" \
96+
-u "${{ secrets.GEONAMES_USER }}" || true
97+
fi
8998
9099
echo "::endgroup::"
91100
done

0 commit comments

Comments
 (0)