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

adding in environmental variable to pkg_test #222

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
8b99ff2
adding in environmental variable to pkg_test
jerowe Nov 16, 2017
181ff9e
commit
jerowe Nov 16, 2017
987fcf5
pushing change
jerowe Nov 17, 2017
b3b1b6f
pushing some debug commands
jerowe Nov 18, 2017
3320ddc
commiting
jerowe Nov 18, 2017
a0135f1
commiting
jerowe Nov 19, 2017
d345166
removing debug statements
jerowe Nov 19, 2017
ec19474
putting upload back the way it was
jerowe Nov 19, 2017
fb4170d
might have changed it to command line parameter
jerowe Nov 19, 2017
ef56c97
few debug statements
jerowe Nov 19, 2017
3a56a20
added in one debug statement
jerowe Nov 19, 2017
93d765a
Merge branch 'master' of https://github.com/bioconda/bioconda-utils i…
jerowe Nov 19, 2017
dca0cd5
fixing debug statement
jerowe Nov 20, 2017
004a309
ok now fixed
jerowe Nov 20, 2017
5b74249
trying to add in channels to pkg_test
jerowe Dec 6, 2017
5d0d474
Merge branch 'master' into develop
jerowe Dec 7, 2017
30b4382
channels should not be none
jerowe Dec 7, 2017
a78cc63
Merge branch 'develop' of github.com:jerowe/bioconda-utils into develop
jerowe Dec 7, 2017
b8d4b4c
fixe indentation
jerowe Dec 7, 2017
dfd87fb
adding to develop
jerowe Dec 8, 2017
9e1c42c
trying ot add in container pkg cache
jerowe Dec 8, 2017
3490b16
commit
jerowe Dec 8, 2017
552b5e1
try again
jerowe Dec 9, 2017
00e4200
trying it with a conda pkg dir
jerowe Dec 9, 2017
dce3746
this should not be none
jerowe Dec 11, 2017
a91a5f3
mulled_upload_target must have a target
jerowe Dec 11, 2017
93683e3
cleaned up docs
jerowe Dec 11, 2017
3b3907c
fixing package cache
jerowe Dec 11, 2017
99e9418
got the last one
jerowe Dec 11, 2017
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
6 changes: 5 additions & 1 deletion bioconda_utils/pkg_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,15 @@ def test_package(
tests = get_tests(path)
logger.debug('Tests to run: %s', tests)

target = 'biocontainers'
if os.environ.get('QUAY_TARGET') is not None:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we call it CONTAINER_NAMESPACE or something?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can name it whatever you like . ;-)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed it.

target = os.environ.get('QUAY_TARGET')

cmd = [
'mulled-build',
'build-and-test',
spec,
'-n', 'biocontainers',
'-n', target,
'--test', tests
]
if name_override:
Expand Down