Last active
April 28, 2020 12:41
-
-
Save Juke34/4884de6ae192ddf9e57fee6c2954c1fa to your computer and use it in GitHub Desktop.
Manipulating conda
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To save the current env | |
conda env export > environment.yaml | |
#conda configuration | |
conda config --show channels # to view your configuration's current state, | |
conda config --show-sources # to view config file locations. | |
# To test locally a new/modified package: | |
conda create -n bioconda bioconda-utils | |
conda activate bioconda | |
bioconda-utils build recipes/ config.yml --packages the_package_name | |
#or | |
bioconda-utils build --docker --mulled-test --packages the_package_name | |
# ==== About test ==== | |
# Test executed in the bioconda env (second part in the CI wrokflow) only the run_test.sh is used if exists (test in the meta.yaml file will be skipped). | |
# When testing in the container (second part in the CI wrokflow) the run_test.sh file is not taken into account, only the test in | |
# the meta.yaml file is executed | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment