-
Notifications
You must be signed in to change notification settings - Fork 51
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 #112 from deeptools/fix111
- Loading branch information
Showing
11 changed files
with
96 additions
and
19 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,13 @@ | ||
name: foo | ||
channels: | ||
- conda-forge | ||
- bioconda | ||
- default | ||
dependencies: | ||
- gcc_linux-64 | ||
- curl | ||
- zlib | ||
- python 3.8 | ||
- pip | ||
- numpy | ||
- nose |
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,19 @@ | ||
on: pull_request | ||
jobs: | ||
testLinux: | ||
name: TestLinux | ||
runs-on: "ubuntu-latest" | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
activate-environment: foo | ||
environment-file: .environmentLinux.yaml | ||
python-version: 3.8 | ||
auto-activate-base: false | ||
- run: | | ||
pip install . | ||
nosetests -sv |
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,37 @@ | ||
name: pypi | ||
on: [push] | ||
jobs: | ||
pypi: | ||
name: upload to pypi | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Setup conda | ||
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') | ||
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 | ||
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') | ||
run: | | ||
export PATH=$HOME/miniconda/bin:$PATH | ||
conda create -n foo -q --yes -c conda-forge -c bioconda python=3.7 twine numpy libcurl curl zlib | ||
- name: sdist | ||
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') | ||
run: | | ||
export PATH=$HOME/miniconda/bin:$PATH | ||
source activate foo | ||
rm -f dist/* | ||
python setup.py sdist | ||
- name: upload | ||
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') | ||
env: | ||
TWINE_USERNAME: "__token__" | ||
TWINE_PASSWORD: ${{ secrets.pypi_password }} | ||
run: | | ||
export PATH=$HOME/miniconda/bin:$PATH | ||
source activate foo | ||
twine upload dist/* |
This file was deleted.
Oops, something went wrong.
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 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 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 |
---|---|---|
|
@@ -62,7 +62,7 @@ | |
include_dirs = include_dirs) | ||
|
||
setup(name = 'pyBigWig', | ||
version = '0.3.17', | ||
version = '0.3.18', | ||
description = 'A package for accessing bigWig files using libBigWig', | ||
author = "Devon P. Ryan", | ||
author_email = "[email protected]", | ||
|