-
Notifications
You must be signed in to change notification settings - Fork 8
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
Improved CTD to galaxy conversion #54
Changes from 113 commits
896c380
c549147
2a4ae8d
81f5465
1ebc562
79e516d
8d58f90
c8ec983
a2efdb1
c3947af
1376b84
616074d
b94253f
d4e1965
84cd70f
c966a9d
e33b637
828f6ba
0dfe02e
216bea1
c7d3905
0c23fd0
e40979a
0f08f32
269e8d5
54032d1
bcbc524
a573a70
e926ad7
1b63455
d40c31b
3d6ccf3
134d66a
8b68ea2
d772ea2
ab94c12
8e419b2
0d0ee61
5aaa7d0
732d0a4
1123e37
a193c91
af2dcef
e92ea6d
aab3495
3c2902c
6981bed
9779959
84bef83
bbef513
33fc035
4c3f53a
b768604
2e676ee
da3a9ae
0b49233
04ffc0f
652f6ea
eb27e68
b04e191
4a4149c
8539619
0882c5b
30f7062
83c09cb
260768a
11d0103
5ee83cc
3e704ef
036061e
519ce2f
7398716
218efde
94ac13b
8211b52
45ed5de
3aff090
5a1085b
8646134
0cb3d32
369888b
47cb609
68415c1
a9062f3
e500936
eac138e
9ec21d6
573390e
74b6e24
b4739e2
3fa1a9b
02ebdb8
de43e45
a27c28c
0b44371
6936529
0c23edd
ba29677
086688e
0b0e26a
8147bd7
9123853
c3c48ab
4f1af20
8112569
3f09e9d
037b5a7
406e91e
aa58872
920c172
958f574
192fe42
4912610
fa54b48
0446544
588b50f
b7a40b7
b044b08
35e5c54
67d36e0
2ed0959
966007f
9247ce5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
language: python | ||
python: | ||
- "3.6" | ||
|
||
install: | ||
- sudo apt-get update | ||
# - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then | ||
# wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh; | ||
# else | ||
# wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; | ||
# fi | ||
# - bash miniconda.sh -b -p $HOME/miniconda | ||
# - export PATH="$HOME/miniconda/bin:$PATH" | ||
# - hash -r | ||
# - conda config --set always_yes yes --set changeps1 no --set auto_activate_base False | ||
# - conda update -q conda | ||
# - conda init | ||
# - source activate | ||
# - conda info -a | ||
# | ||
# # - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION | ||
# # - source activate test-environment | ||
# - conda config --add channels conda-forge | ||
# - conda config --add channels bioconda | ||
# - conda config --add channels anaconda | ||
# - conda config --add channels workflowconversion | ||
# | ||
# - conda install python=$TRAVIS_PYTHON_VERSION | ||
# # TODO could be replaced by conda package once it is merged and released | ||
# - git clone -b topic/no-1-2x https://github.com/bernt-matthias/CTDopts $HOME/CTDopts | ||
# - cd $HOME/CTDopts | ||
# - python setup.py install | ||
# - conda install -c conda-forge lxml | ||
# - conda install -c conda-forge ruamel.yaml | ||
# - conda install libxml2 | ||
# - cd $TRAVIS_BUILD_DIR | ||
# - python setup.py install | ||
# - conda install coverage green codecov | ||
|
||
# - virtualenv .venv | ||
# - . .venv/bin/activate | ||
- pip install git+https://github.com/bernt-matthias/CTDopts@topic/no-1-2x | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
But the reverse is not true, and is the source of at least one of the failing tests |
||
- pip install lxml ruamel.yaml planemo | ||
- cd $TRAVIS_BUILD_DIR | ||
- python setup.py install | ||
script: | ||
- python setup.py test | ||
# TODO fail expected due to | ||
# https://github.com/galaxyproject/galaxy/pull/9081 which will be in 20.01 and | ||
# empty.xml (no inputs) could be removed and | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this still the case? The mentioned PR was merged last year |
||
# - planemo l tests/test-data/ | ||
|
||
# planemo test content of tests/test-data (this is OK, because the previous | ||
# tests ensure equality of the xmls that are generated and those in the package) | ||
- export PATH=$(pwd)/tests/test-data:$PATH && planemo t tests/test-data/ | ||
|
||
# after_script: | ||
# - python -m codecov |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,4 +42,4 @@ def __str__(self): | |
return self.msg | ||
|
||
def __unicode__(self): | ||
return self.msg | ||
return self.msg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still needed?