forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add circle_ci config * Add basic circleCI template * Add an integration-test target * Sample fix * Adding additional dependency in test-requirements * Add testing line * Add some install steps to install airflow for testing * Adjustments to install local airflow to run tests * Add additional necessary requirements * Add circle_ci fixes
- Loading branch information
1 parent
1299964
commit 31d00b0
Showing
4 changed files
with
75 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
version: 2 | ||
|
||
defaults: &defaults | ||
docker: | ||
- image: circleci/python:3.6 | ||
working_directory: ~/marquez_airflow | ||
|
||
|
||
jobs: | ||
build: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- run: pip install --user -r requirements.txt | ||
|
||
test: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- run: pip install --user -r test-requirements.txt | ||
- run: | ||
name: Install airflow from package | ||
environment: | ||
SLUGIFY_USES_TEXT_UNIDECODE: 'yes' | ||
command: pip install --user -e . | ||
- run: python -m pytest ./test | ||
|
||
integration-test: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- run: pip install --user -r test-requirements.txt | ||
|
||
release: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- run: pip install --user twine | ||
- run: python setup.py sdist | ||
- run: python -m twine upload --verbose dist/* | ||
|
||
workflows: | ||
version: 2 | ||
marquez_airflow: | ||
jobs: | ||
- build | ||
- test: | ||
requires: | ||
- build | ||
- release: | ||
requires: | ||
- test | ||
filters: | ||
tags: | ||
only: /^[0-9]+(\.[0-9]+){2}$/ | ||
branches: | ||
ignore: /.*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
certifi >= 14.05.14 | ||
six >= 1.10 | ||
python_dateutil >= 2.5.3 | ||
setuptools >= 21.0.0 | ||
urllib3 >= 1.15.1 | ||
marquez-python==0.1.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
coverage>=4.0.3 | ||
nose>=1.3.7 | ||
pluggy>=0.3.1 | ||
py>=1.4.31 | ||
randomize>=0.13 | ||
pytest | ||
urllib3 | ||
pytzdata | ||
marquez-python==0.1.4 | ||
apache-airflow==1.9.0 | ||
pendulum |