Skip to content

Commit

Permalink
Test automatic conda deployment github action
Browse files Browse the repository at this point in the history
  • Loading branch information
BBQuercus committed Mar 15, 2023
1 parent ff7f4d1 commit 3e930a3
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 24 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: main

on:
release:
types: [published]

jobs:
# Direct upload to conda
conda:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: publish-to-conda
uses: fcakyon/[email protected]
with:
subdir: "conda"
anacondatoken: ${{ secrets.ANACONDA_TOKEN }}
platforms: "osx linux"
35 changes: 11 additions & 24 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,43 +1,30 @@
{% set name = "eFISHent" %}
{% set version = "0.0.1" %}

package:
name: {{ name|lower }}
version: {{ version }}

name: "eFISHent"
version: 0.0.3
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/eFISHent-{{ version }}.tar.gz
sha256: 6c10f608b078a8085dabaf2f8e58c62499fe6afd1aa7536fbdb2050cb34ff601
path: ..

build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv
entry_points:
- efishent = eFISHent.cli:main
- eFISHent = eFISHent.cli:main
build: 1
preserve_egg_dir: True
script: python -m pip install --ignore-installed .
entry_points:
- efishent = eFISHent.cli:main
- eFISHent = eFISHent.cli:main

requirements:
host:
- pip
- python >=3.7
- python >=3.8
- llvm-openmp # [osx]
run:
- biopython
- blast
- bowtie
- entrez-direct
- gtfparse
- jellyfish
- libgomp # [linux]
- llvm-openmp # [osx]
- luigi
- matplotlib-base
- numpy
- pandas
- pyarrow
- pyomo
- python >=3.7
- python >=3.8

test:
commands:
Expand Down

0 comments on commit 3e930a3

Please sign in to comment.