some warning about numbers for technical/biological and fractions #66
This file contains 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
name: Conda Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Miniconda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
python-version: 3.8 | |
channels: conda-forge,defaults,bioconda | |
- name: Create conda environment | |
run: conda env create -f environment.yml | |
- name: Activate conda environment | |
run: | | |
source $CONDA/etc/profile.d/conda.sh | |
conda activate sdrf-pipelines | |
shell: bash | |
- name: Install conda-build | |
run: | | |
source $CONDA/etc/profile.d/conda.sh | |
conda activate sdrf-pipelines | |
conda install -n sdrf-pipelines conda-build anaconda-client | |
shell: bash -l {0} | |
- name: Activate conda environment and build package | |
run: | | |
source $CONDA/etc/profile.d/conda.sh | |
conda activate sdrf-pipelines | |
conda build recipe | |
shell: bash -l {0} | |
- name: Install the built package | |
run: | | |
source $CONDA/etc/profile.d/conda.sh | |
conda activate sdrf-pipelines | |
conda install --use-local sdrf-pipelines | |
shell: bash -l {0} | |
- name: Test the installed package | |
run: | | |
conda activate sdrf-pipelines | |
parse_sdrf --help | |
shell: bash -l {0} | |
- name: Test other commands | |
run: | | |
conda activate sdrf-pipelines | |
parse_sdrf validate-sdrf --sdrf_file tests/data/reference/PDC000126/PDC000126.sdrf.tsv --check_ms | |
shell: bash -l {0} |