Skip to content

Commit

Permalink
Tests - When testing SDK install it using pip (#2325)
Browse files Browse the repository at this point in the history
* Tests - When testing SDK install using pip

* Installing requirements in the install section

* Using editable install to fix coveralls

Coveralls paths "diverge" again.
  • Loading branch information
Ark-kun authored and k8s-ci-robot committed Oct 10, 2019
1 parent 361fbee commit b2469d8
Showing 1 changed file with 3 additions and 2 deletions.
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

0 comments on commit b2469d8

Please sign in to comment.