Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests - When testing SDK install it using pip #2325

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ matrix:
python: "3.5"
env: TOXENV=py35
install: &0
- python3 -m pip install -r $TRAVIS_BUILD_DIR/sdk/python/requirements.txt
# Additional dependencies
- pip3 install coverage coveralls jsonschema==3.0.1
- pip3 install coverage coveralls
# Sample test infra dependencies
- pip3 install minio
- pip3 install junit_xml
Expand All @@ -77,7 +78,7 @@ matrix:

# DSL tests
- cd $TRAVIS_BUILD_DIR/sdk/python
- python3 setup.py develop
- python3 -m pip install -e .
- cd $TRAVIS_BUILD_DIR # Changing the current directory to the repo root for correct coverall paths
- coverage run --source=kfp --append sdk/python/tests/dsl/main.py
- coverage run --source=kfp --append sdk/python/tests/compiler/main.py
Expand Down