File tree Expand file tree Collapse file tree 4 files changed +4
-9
lines changed Expand file tree Collapse file tree 4 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ RUN curl -sSL https://sdk.cloud.google.com | bash
1111RUN apt-get install shellcheck
1212
1313# install yapf
14- RUN pip3 install yapf flake8 pytest
14+ RUN pip3 install yapf flake8 pytest apache-airflow[gcp]==1.10.6
1515
1616# install golang (+gofmt)
1717RUN apt-get install -y golang
Original file line number Diff line number Diff line change @@ -109,7 +109,8 @@ function install_airflow() {
109109# $1 relative path to directory containing bigquery sql.
110110# $2 relative path to JSON file contianing Airflow Variables.
111111main () {
112- setup_local_airflow " $1 " " $2 " " $3 "
112+ install_airflow
113+ setup_local_airflow " $1 " " $2 " " $3 "
113114 run_tests
114115 TEST_STATUS=$?
115116 clean_up
Original file line number Diff line number Diff line change 2323 exit 1
2424fi
2525
26- echo " running composer python tests..."
27- if ! (cd ./composer && ./cloudbuild/bin/run_tests.sh ../bigquery/sql/ ./config/AirflowVariables.json plugins/);
28- then
29- echo " composer python3 unittests failed"
30- exit 1
31- fi
32-
3326echo " dry runing bigquery sql..."
3427if ! (cd ./bigquery && ./tests/test_sql.sh);
3528then
Original file line number Diff line number Diff line change 3232 - name : ' google/cloud-sdk'
3333 entrypoint : ' bash'
3434 args : ['./helpers/run_relevant_cloudbuilds.sh', 'precommit_cloudbuild.yaml']
35+ id : ' run-relevant-cloud-builds'
You can’t perform that action at this time.
0 commit comments