Skip to content

Commit

Permalink
Create ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwengers committed Jan 18, 2022
1 parent 942c949 commit 0ba2842
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CI (Conda/PyTest)
on:
push:
paths-ignore:
- 'README.md'
pull_request:
types:
- opened
paths-ignore:
- 'README.md'
jobs:
build:
name: test (${{ matrix.os }}, ${{ matrix.python-version }})
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.8]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: false
python-version: ${{ matrix.python-version }}
miniconda-version: "latest"
mamba-version: "*"
channels: conda-forge,bioconda
channel-priority: true
auto-activate-base: false
environment-file: environment.yml
activate-environment: deepsig
- name: Conda info
run: |
conda info
conda list
conda config --show
printenv | sort
- name: Install DeepSig
run: python -m pip install --no-deps .
- name: Run Test
run: deepsig -f testdata/test-prok.faa --organism gramn --outf test --outfmt gff3 --threads 1

0 comments on commit 0ba2842

Please sign in to comment.