Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidKatz-il committed Jul 30, 2020
1 parent 0e977ab commit 0df6894
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions python_modules/libraries/dagster-dask/dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# we need `pyarrow` for testing read/write parquet files.
pyarrow
2 changes: 1 addition & 1 deletion python_modules/libraries/dagster-dask/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def get_version():
'bokeh',
'dagster',
'dagster_graphql',
'dask>=1.2.2',
'dask[dataframe]>=1.2.2',
'distributed>=1.28.1',
],
extras_require={
Expand Down
3 changes: 1 addition & 2 deletions python_modules/libraries/dagster-dask/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ deps =
-e ../dagster-aws
-e ../dagster-pandas
-e .
-r dev-requirements.txt
extras = yarn,pbs,kube
usedevelop = true
whitelist_externals =
Expand All @@ -19,8 +20,6 @@ commands =
!windows: /bin/bash -c '! pip list --exclude-editable | grep -e dagster -e dagit'
coverage erase
echo -e "--- \033[0;32m:pytest: Running tox tests\033[0m"
python -m pip install "dask[dataframe]" --upgrade
pip install pyarrow
pytest -vv --junitxml=test_results.xml --cov=dagster_dask --cov-append --cov-report=
coverage report --omit='.tox/*,**/test_*.py' --skip-covered
coverage html --omit='.tox/*,**/test_*.py'
Expand Down

0 comments on commit 0df6894

Please sign in to comment.