Skip to content

Commit

Permalink
✨ add njab after update to requirements
Browse files Browse the repository at this point in the history
- enable again more workflows (using mamba constraint snakemake environement)
  • Loading branch information
enryH committed Oct 17, 2024
1 parent 62e30ea commit 2503efb
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 27 deletions.
44 changes: 21 additions & 23 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ jobs:
run: |
cd project
snakemake -p -c4 -k --configfile config/single_dev_dataset/example/config.yaml --use-conda
- name: Show current files in conda snakemake folder
run: ls -l project/.snakemake/conda/
- name: Run demo workflow again (in case of installation issues)
continue-on-error: true
run: |
Expand All @@ -74,9 +72,9 @@ jobs:
run-unit-local-pip-installation:
runs-on: ${{ matrix.os }}
name: test-pip-installation
defaults:
run:
shell: bash -el {0}
# defaults:
# run:
# shell: bash -el {0}
strategy:
fail-fast: false
matrix:
Expand All @@ -89,32 +87,32 @@ jobs:
fetch-tags: true
fetch-depth: 0

# - uses: actions/setup-python@v5
# with:
# python-version: ${{ matrix.python-version }}

- uses: conda-incubator/setup-miniconda@v3
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
auto-update-conda: true
activate-environment: test
auto-activate-base: true

- name: check conda
run: |
conda info
conda list
# - uses: conda-incubator/setup-miniconda@v3
# with:
# python-version: ${{ matrix.python-version }}
# auto-update-conda: true
# activate-environment: test
# auto-activate-base: true

# - name: check conda
# run: |
# conda info
# conda list

- name: Install build dependencies explicitly
run: |
pip install setuptools_scm
conda list
# - name: Install build dependencies explicitly
# run: |
# pip install setuptools_scm
# conda list

- name: install pimms
run: pip install .

- name: install njab
run: pip install njab
# - name: install njab
# run: pip install njab

- name: Install pytest
run: pip install pytest pytest-cov
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: run workflow with conda envs
on:
push:
branches: [main, dev]
# pull_request:
# branches: [main, dev]
pull_request:
branches: [main, dev]
release:
types: [published]
schedule:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/workflow_website.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build workflow website on public Alzheimer dataset (for protein groups)
on:
# pull_request:
# branches: [main, dev]
pull_request:
branches: [main, dev]
release:
types: [published]
schedule:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ dependencies = [
"plotly", # not used in library, but workflow
"omegaconf",
"pingouin",
"njab>=0.1"
]

[project.scripts]
Expand Down

0 comments on commit 2503efb

Please sign in to comment.