@@ -37,7 +37,7 @@ commands:
3737 - run : circleci-agent step halt
3838
3939jobs :
40- style_and_unit_tests :
40+ style_and_slow_tests :
4141 parameters :
4242 python_version :
4343 type : string
@@ -57,13 +57,13 @@ jobs:
5757 name : Run linters and code style checks
5858 command : make py-style
5959 - run :
60- name : Run unit tests
61- command : make unit -test
60+ name : Run slow tests
61+ command : make slow -test
6262 - run :
6363 name : Run doc tests
6464 command : make doc-test
6565
66- style_and_unit_tests_pydantic_v1 :
66+ style_and_slow_tests_pydantic_v1 :
6767 docker :
6868 - image : cimg/python:3.10
6969 resource_class : small
8383 name : Run linters and code style checks
8484 command : make py-style
8585 - run :
86- name : Run unit tests
87- command : make unit -test
86+ name : Run slow tests
87+ command : make slow -test
8888
8989 ui_style :
9090 docker :
@@ -132,21 +132,7 @@ jobs:
132132 name : Run tests
133133 command : npm --prefix web/client run test
134134
135- core_integration_tests :
136- docker :
137- - image : cimg/python:3.7
138- resource_class : small
139- steps :
140- - halt_unless_core
141- - checkout
142- - run :
143- name : Install dependencies
144- command : make install-dev
145- - run :
146- name : Run Core integration tests
147- command : make core-it-test
148-
149- airflow_integration_tests :
135+ airflow_docker_tests :
150136 machine :
151137 image : ubuntu-2204:2022.10.2
152138 docker_layer_caching : true
@@ -160,8 +146,8 @@ jobs:
160146 name : Install ruamel.yaml
161147 command : pip3 install ruamel.yaml==0.16.0
162148 - run :
163- name : Run Airflow integration tests
164- command : make airflow-it -test-docker -with-env
149+ name : Run Airflow slow tests
150+ command : make airflow-docker -test-with-env
165151 no_output_timeout : 15m
166152 - run :
167153 name : Collect Airflow logs
@@ -173,7 +159,7 @@ jobs:
173159 - store_artifacts :
174160 path : /tmp/airflow_logs
175161
176- engine_adapter_integration_local_only_tests :
162+ engine_adapter_docker_tests :
177163 machine :
178164 image : ubuntu-2204:2022.10.2
179165 docker_layer_caching : true
@@ -185,39 +171,38 @@ jobs:
185171 command : sudo apt-get update && sudo apt-get install libpq-dev
186172 - run :
187173 name : Install dependencies
188- command : make install-engine-integration
174+ command : make install-engine-test
189175 - run :
190- name : Bring up MySQL, Postgres, and MSSQL
191- command : make core_engine_it_test_docker
176+ name : Bring up Dockerized Engines
177+ command : make engine-up
192178 - run :
193179 name : Make sure DBs are ready
194180 command : sleep 60
195181 - run :
196182 name : Run tests
197- command : make core_engine_it_test_local_only
183+ command : make engine-docker-test
198184 no_output_timeout : 15m
199185
200186workflows :
201187 main_pr :
202188 jobs :
203- - style_and_unit_tests :
189+ - style_and_slow_tests :
204190 matrix :
205191 parameters :
206192 python_version :
207193 ["3.7", "3.8", "3.9", "3.10", "3.11"]
208- - style_and_unit_tests_pydantic_v1
209- - core_integration_tests
210- - airflow_integration_tests :
194+ - style_and_slow_tests_pydantic_v1
195+ - airflow_docker_tests :
211196 requires :
212- - style_and_unit_tests
197+ - style_and_slow_tests
213198 filters :
214199 branches :
215200 only :
216201 - main
217- - engine_adapter_integration_local_only_tests :
218- context : engine_adapter_integration
202+ - engine_adapter_docker_tests :
203+ context : engine_adapter_slow
219204 requires :
220- - style_and_unit_tests
205+ - style_and_slow_tests
221206 filters :
222207 branches :
223208 only :
0 commit comments