File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ install:
1313 - pip install -r test-requirements.txt
1414 - python setup.py install
1515 - pip freeze
16+ # there is a issue in repo2docker in travis. fix file permission
17+ - chmod +x $(python -c "import repo2docker; print(repo2docker.__file__[:-11])")/buildpacks/repo2docker-entrypoint
1618script :
1719 - pycodestyle --max-line-length=119 $(find ipython2cwl -name '*.py')
1820 - coverage run --source ipython2cwl -m unittest discover tests
@@ -29,6 +31,7 @@ matrix:
2931 - pip3 install virtualenv
3032 - virtualenv -p python3 venv
3133 - source venv/bin/activate
34+ - chmod +x $(python -c "import repo2docker; print(repo2docker.__file__[:-11])")/buildpacks/repo2docker-entrypoint
3235 - pip3 install -U -r test-requirements.txt
3336 script : coverage run --source ipython2cwl -m unittest discover tests
3437 env : TRAVIS_IGNORE_DOCKER=true
Original file line number Diff line number Diff line change @@ -25,6 +25,12 @@ def test_repo2cwl(self):
2525 )
2626 self .assertListEqual (['example1.cwl' ], [f for f in os .listdir (output_dir ) if not f .startswith ('.' )])
2727
28+ with open (os .path .join (output_dir , 'example1.cwl' )) as f :
29+ print (20 * '=' )
30+ print ('workflow file' )
31+ print (f .read ())
32+ print (20 * '=' )
33+
2834 runtime_context = RuntimeContext ()
2935 runtime_context .outdir = output_dir
3036 runtime_context .basedir = output_dir
You can’t perform that action at this time.
0 commit comments