Skip to content

Commit

Permalink
Merge pull request #830 from maxplanck-ie/dev_wd
Browse files Browse the repository at this point in the history
Dev wd
  • Loading branch information
katsikora committed Aug 15, 2022
2 parents 912ad81 + 870d381 commit 678ae47
Show file tree
Hide file tree
Showing 8 changed files with 168 additions and 184 deletions.
18 changes: 0 additions & 18 deletions .azure-pipelines/setup.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .azure-pipelines/testCreateEnv.py

This file was deleted.

15 changes: 15 additions & 0 deletions .github/snakePipesEnvCI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: snakePipes_CI
channels:
- conda-forge
- bioconda
dependencies:
- python=3.9
- snakemake=6.2.1
- fuzzywuzzy
- mock
- sphinx=4.2.0
- sphinx-argparse
- sphinx_rtd_theme=1.0.0
- flake8
- coreutils
- mamba
100 changes: 100 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
name: linux

on:
pull_request:

defaults:
run:
shell: bash -l {0}


jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: mamba-org/provision-with-micromamba@main
with:
environment-file: .github/snakePipesEnvCI.yml
cache-downloads: true
- name: Install snakePipes
run: |
micromamba run -n snakePipes_CI python -m pip install . --no-deps --ignore-installed -vvv
- name: docs
run: |
micromamba activate snakePipes_CI
cd docs
make html
flake:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: mamba-org/provision-with-micromamba@main
with:
environment-file: .github/snakePipesEnvCI.yml
cache-downloads: true
- name: Install snakePipes
run: |
micromamba run -n snakePipes_CI python -m pip install . --no-deps --ignore-installed -vvv
- name: flake
run: |
micromamba activate snakePipes_CI
flake8 --ignore=E501,E722,E402 --exclude docs/conf.py .
CI:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: mamba-org/provision-with-micromamba@main
with:
environment-file: .github/snakePipesEnvCI.yml
cache-downloads: true
channel-priority: 'flexible'
- name: Install snakePipes
run: |
micromamba run -n snakePipes_CI python -m pip install . --no-deps --ignore-installed -vvv
- name: CI
run: |
micromamba activate snakePipes_CI
./.ci_stuff/test_dag.sh
createEnvs:
needs: CI
strategy:
fail-fast: false
matrix:
envs: [
'CONDA_SHARED_ENV',
'CONDA_CREATE_INDEX_ENV',
'CONDA_RNASEQ_ENV',
'CONDA_RMATS_ENV',
'CONDA_scRNASEQ_ENV',
'CONDA_seurat3_ENV',
'CONDA_loompy_ENV',
'CONDA_alevinqc_ENV',
'CONDA_eisaR_ENV',
'CONDA_DNA_MAPPING_ENV',
'CONDA_CHIPSEQ_ENV',
'CONDA_ATAC_ENV',
'CONDA_HIC_ENV',
'CONDA_WGBS_ENV',
'CONDA_RMD_ENV',
'CONDA_PREPROCESSING_ENV',
'CONDA_NONCODING_RNASEQ_ENV',
'CONDA_SAMBAMBA_ENV',
'CONDA_pysam_ENV'
]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: mamba-org/provision-with-micromamba@main
with:
environment-file: .github/snakePipesEnvCI.yml
cache-downloads: true
- name: install snakePipes
run: |
micromamba run -n snakePipes_CI python -m pip install . --no-deps --ignore-installed -vvv
- name: createEnvs
run: |
micromamba activate snakePipes_CI
conda config --set channel_priority flexible
snakePipes createEnvs --force --only ${{matrix.envs}}
51 changes: 51 additions & 0 deletions .github/workflows/osx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: osx

on:
pull_request:

defaults:
run:
shell: bash -l {0}

jobs:
createEnvs_OSX:
strategy:
fail-fast: false
matrix:
envs: [
'CONDA_SHARED_ENV',
'CONDA_CREATE_INDEX_ENV',
'CONDA_RNASEQ_ENV',
'CONDA_RMATS_ENV',
'CONDA_scRNASEQ_ENV',
'CONDA_seurat3_ENV',
'CONDA_loompy_ENV',
'CONDA_alevinqc_ENV',
'CONDA_eisaR_ENV',
'CONDA_DNA_MAPPING_ENV',
'CONDA_CHIPSEQ_ENV',
'CONDA_ATAC_ENV',
'CONDA_HIC_ENV',
'CONDA_WGBS_ENV',
'CONDA_RMD_ENV',
'CONDA_PREPROCESSING_ENV',
'CONDA_NONCODING_RNASEQ_ENV',
'CONDA_SAMBAMBA_ENV',
'CONDA_pysam_ENV'
]
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: mamba-org/provision-with-micromamba@main
with:
environment-file: .github/snakePipesEnvCI.yml
cache-downloads: true
- name: install snakePipes_OSX
run: |
micromamba run -n snakePipes_CI python -m pip install . --no-deps --ignore-installed -vvv
- name: createEnvsOSX
run: |
micromamba activate snakePipes_CI
conda config --set channel_priority flexible
snakePipes createEnvs --force --only ${{matrix.envs}}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ _sources
/snakePipes/shared/rscripts/*.html
output

# pip stuff
snakePipes.egg-info
127 changes: 0 additions & 127 deletions azure-pipelines.yml

This file was deleted.

2 changes: 1 addition & 1 deletion snakePipes/shared/rules/envs/wgbs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
- r-base = 3.6.3
- r-car = 3.0_6
- r-factominer = 2.2
- r-ggplot2 = 3.1.1
- r-ggplot2
- r-rmarkdown
- r-dplyr = 1.0.2
- r-tidyr
Expand Down

0 comments on commit 678ae47

Please sign in to comment.