Skip to content

Commit

Permalink
Enable CI for master and merges
Browse files Browse the repository at this point in the history
Enable CI config. for the master branch and merge requests.
At this moment, only the conda package build is tested, but more
tests will be added.
  • Loading branch information
SGMartin committed Mar 10, 2021
1 parent 00c7d96 commit 06b5e53
Show file tree
Hide file tree
Showing 67 changed files with 1,857 additions and 1,793 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
^.*\.Rproj$
^\.Rproj\.user$
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.Rproj.user
.Rhistory
.RData
.Ruserdata
22 changes: 22 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
image: continuumio/miniconda3:latest

before_script:
- conda config --set always_yes yes --set changeps1 no
- conda update -n base conda
- conda info -a
- conda config --add channels defaults
- conda config --add channels bioconda
- conda config --add channels conda-forge
- conda install mamba
- mamba install boa
- cd .tests/
- conda create -y -q -n beyondcell_test

conda_build:
stage: build
only:
- master
- merge_requests
script:
- source activate beyondcell_test
- bash build_conda_package.sh ${PYTHON_VERSION}
11 changes: 11 additions & 0 deletions .tests/build_conda_package.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

if [ -z "$1" ]
then
PYTHON_VERSION=3.6
else
PYTHON_VERSION=$1
fi

git clone https://gitlab.com/bu_cnio/conda-recipes
conda mambabuild conda-recipes/r-beyondcell --output-folder ./
mamba install --use-local --update-deps linux-64/r-beyondcell-*.tar.bz2
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: beyondcell
Type: Package
Title: A Tool for the Analysis of Tumour Therapeutic Heterogeneity in
single-cell RNA-seq
Version: 0.99.6
Version: 1.0.0
Authors@R: c(person("Coral", "Fustero-Torre", email = "[email protected]",
role = "aut"), person("Maria Jose", "Jimenez-Santos",
email = "[email protected]", role = c("aut", "cre")), person("Santiago",
Expand Down
298 changes: 149 additions & 149 deletions LICENSE

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Generated by roxygen2: do not edit by hand

export(BreakString)
export(CaseFraction)
export(CreatebcObject)
export(FilteredIDS)
export(FindDrugs)
export(GeneCase)
export(GenerateGenesets)
export(GetIDs)
export(GetStatistics)
export(ListFilters)
export(Mean.Med.SD)
export(SwitchPoint)
export(bc4Squares)
export(bcAddMetatada)
export(bcAddMetadata)
export(bcCellCycle)
export(bcClusters)
export(bcHistogram)
Expand All @@ -25,7 +25,7 @@ export(bcSubset)
export(bcUMAP)
export(center_scale_colour_stepsn)
export(colMinus)
export(get_colour_stepsn)
export(get_colour_steps)
export(minus)
export(rankSigs)
import(Seurat)
Expand Down
Loading

0 comments on commit 06b5e53

Please sign in to comment.