Airflow APIs coverage (#6501)

Airflow APIs coverage (#6501)
This commit is contained in:
Pere Miquel Brull 2022-08-02 14:02:44 +02:00 committed by GitHub
parent 9792586cff
commit 049077e1b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View File

@ -107,7 +107,7 @@ run_apis_tests: ## Run the openmetadata airflow apis tests
coverage_apis: ## Run the python tests on openmetadata-airflow-apis
$(MAKE) run_apis_tests
coverage xml --rcfile openmetadata-airflow-apis/.coveragerc -o openmetadata-airflow-apis/coverage.xml
sed -e 's/$(shell python -c "import site; import os; from pathlib import Path; print(os.path.relpath(site.getsitepackages()[0], str(Path.cwd())).replace('/','\/'))")/src/g' openmetadata-airflow-apis/coverage.xml >> openmetadata-airflow-apis/ci-coverage.xml
sed -e 's/$(shell python -c "import site; import os; from pathlib import Path; print(os.path.relpath(site.getsitepackages()[0], str(Path.cwd())).replace('/','\/'))")\///g' openmetadata-airflow-apis/coverage.xml >> openmetadata-airflow-apis/ci-coverage.xml
## Ingestion publish
.PHONY: publish

View File

@ -51,10 +51,8 @@ def get_long_description():
base_requirements = {
"openmetadata-ingestion[airflow-container]~=0.11",
"pendulum~=2.1.2",
"packaging~=21.2",
"setuptools~=58.3.0",
"apache-airflow==2.3.3",
"Flask~=2.1",
"apache-airflow>=2.2.2",
"Flask>=1.1.4",
"Flask-Admin==1.6.0",
}