-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1243 from deeptools/develop
Develop
- Loading branch information
Showing
75 changed files
with
818 additions
and
1,009 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
channels: | ||
- conda-forge | ||
- bioconda | ||
dependencies: | ||
- python >= 3.7 | ||
- numpy | ||
- scipy | ||
- flake8 | ||
- pysam | ||
- deeptoolsintervals | ||
- pytest | ||
- samtools | ||
- py2bit | ||
- pyBigWig | ||
- twine | ||
- pip | ||
- tomli # remove dependency when lowest supported version is py 3.11 | ||
- pip: | ||
- build | ||
- planemo |
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,35 +1,33 @@ | ||
name: pypi | ||
|
||
on: | ||
create: | ||
tags: | ||
|
||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
|
||
jobs: | ||
pypi: | ||
name: upload to pypi | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Setup conda | ||
- uses: actions/checkout@v3 | ||
- uses: mamba-org/setup-micromamba@main | ||
with: | ||
environment-file: .github/test_and_build.yml | ||
cache-downloads: true | ||
environment-name: test_and_build | ||
- name: build | ||
run: | | ||
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -o miniconda.sh | ||
bash miniconda.sh -b -p $HOME/miniconda | ||
export PATH="$HOME/miniconda/bin:$PATH" | ||
hash -r | ||
conda config --set always_yes yes --set changeps1 no | ||
- name: create env | ||
run: | | ||
export PATH=$HOME/miniconda/bin:$PATH | ||
conda create -n foo -q --yes -c conda-forge -c bioconda python=3.7 twine | ||
- name: sdist | ||
run: | | ||
export PATH=$HOME/miniconda/bin:$PATH | ||
source activate foo | ||
micromamba activate test_and_build | ||
rm -f dist/* | ||
python setup.py sdist | ||
python -m build | ||
- name: upload | ||
env: | ||
TWINE_USERNAME: "__token__" | ||
TWINE_PASSWORD: ${{ secrets.pypi_password }} | ||
run: | | ||
export PATH=$HOME/miniconda/bin:$PATH | ||
source activate foo | ||
micromamba activate test_and_build | ||
twine upload dist/* |
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.