-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update conda env * feat: create separate env for toolz * update ci * refactor: update Dockerfile * update env * update ci
- Loading branch information
1 parent
1992dfa
commit 188e429
Showing
6 changed files
with
21 additions
and
29 deletions.
There are no files selected for viewing
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,22 +17,22 @@ jobs: | |
shell: bash -l {0} | ||
|
||
steps: | ||
- name: check out repository | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Conda/Mamba | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
mamba-version: "*" | ||
auto-update-conda: true | ||
activate-environment: scrnasim | ||
activate-environment: scrnasim-toolz | ||
environment-file: environment.yml | ||
auto-activate-base: false | ||
|
||
- name: Update scrnasim env with dev packages | ||
run: mamba env update -n scrnasim -f environment-dev.yml | ||
- name: Update scrnasim-toolz env with dev packages | ||
run: mamba env update -n scrnasim-toolz -f environment-dev.yml | ||
|
||
- name: display environment info | ||
- name: Display environment info | ||
run: | | ||
conda info -a | ||
conda list | ||
|
@@ -54,32 +54,32 @@ jobs: | |
|
||
steps: | ||
|
||
- name: checkout repository | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: setup Conda/Mamba | ||
- name: Setup Conda/Mamba | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
mamba-version: "*" | ||
auto-update-conda: true | ||
activate-environment: scrnasim | ||
activate-environment: scrnasim-toolz | ||
environment-file: environment.yml | ||
auto-activate-base: false | ||
|
||
- name: update scrnasim env with dev packages | ||
run: mamba env update -n scrnasim -f environment-dev.yml | ||
- name: Update scrnasim-toolz env with dev packages | ||
run: mamba env update -n scrnasim-toolz -f environment-dev.yml | ||
|
||
- name: display environment info | ||
- name: Display environment info | ||
run: | | ||
conda info -a | ||
conda list | ||
- name: run unit tests | ||
- name: Run unit tests | ||
run: | | ||
coverage run --source scRNAsim_toolz -m pytest | ||
coverage xml | ||
- name: submit coverage report | ||
- name: Submit coverage report | ||
uses: codecov/codecov-action@v2 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
|
@@ -96,14 +96,14 @@ jobs: | |
steps: | ||
|
||
- name: check out repository | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: generate tag | ||
- name: Generate tag | ||
run: | | ||
echo "TAG=$(date '+%Y%m%d')" >> $GITHUB_ENV | ||
- name: build and publish image | ||
- name: Build and publish image | ||
id: docker | ||
uses: philips-software/[email protected] | ||
with: | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: scrnasim | ||
name: scrnasim-toolz | ||
channels: | ||
- conda-forge | ||
- bioconda | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,2 @@ | ||
biopython>=1.78 | ||
numpy>=1.23.3 | ||
pandas>=1.4.4 | ||
polars==0.16.17 | ||
gtfparse | ||
setuptools | ||
pyarrow | ||
cli_test_helpers |