/
project.yaml
36 lines (31 loc) · 918 Bytes
/
project.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: "3.0"
expectations:
population_size: 1000
actions:
query:
run: >
sqlrunner:latest
--dummy-data-file output/generate_dummy_rows/dummy_rows.csv.gz
--output output/query/rows.csv.gz
analysis/query.sql
outputs:
highly_sensitive:
rows: output/query/rows.csv.gz
latest_import_dates:
needs: [query]
run: python:latest python -m analysis.latest_import_dates
outputs:
moderately_sensitive:
latest_import_dates: output/latest_import_dates/latest_import_dates.csv
plot:
needs: [query]
run: python:latest python -m analysis.plot
outputs:
moderately_sensitive:
latest_import_dates: output/plot/plot.png
render_report:
needs: [latest_import_dates, plot]
run: python:latest python -m analysis.render_report
outputs:
moderately_sensitive:
report: output/render_report/report.html