Skip to content

Commit b633410

Browse files
authored
Update pipeline.yml
1 parent 24d466f commit b633410

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/pipeline.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,17 @@ jobs:
9595
if [ -d coordinator/data/history ]; then
9696
cp -a coordinator/data/history/. work/history/ || true
9797
fi
98-
99-
missing=0for f in persona_incarico_ente__incarichi_nominativi_shard.csv \
98+
- name: Select relations sourceid: relations
99+
run: |
100+
if [ "${{ github.event.inputs.use_fixture_data }}" = "true" ]; then
101+
REL="coordinator/testdata/relations"
102+
echo "Using fixture data: $REL"
103+
else
104+
REL="explorer/data/relations"
105+
echo "Using live Explorer relations: $REL"
106+
fi
107+
missing=0
108+
for f in persona_incarico_ente__incarichi_nominativi_shard.csv \
100109
awards__affidamenti_diretti.csv \
101110
cig_ente__affidamenti_diretti.csv; do
102111
if [ ! -f "$REL/$f" ]; then

0 commit comments

Comments
 (0)