-
Notifications
You must be signed in to change notification settings - Fork 3
53 lines (48 loc) · 1.46 KB
/
tallynn_python.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: tallynn
on: [push, pull_request]
jobs:
build:
name: TallyNN (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.7"]
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- name: Cache conda
uses: actions/cache@v1
env:
# Increase this value to reset cache if conda/environments/cgat-core.yml has not changed
CACHE_NUMBER: 0
with:
path: ~/conda_pkgs_dir
key:
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
hashFiles('conda/environments/cgat-core.yml') }}
- uses: conda-incubator/setup-miniconda@v2
with:
mamba-version: "*"
python-version: ${{ matrix.python-version }}
channels: conda-forge, bioconda, defaults
channel-priority: true
activate-environment: tallynn
environment-file: conda/environments/tallynn.yml
- name: Install UMI-tools
run: |
git clone https://github.com/Acribbs/UMI-tools.git
cd UMI-tools
python setup.py install
- name: Show conda
run: |
conda info
conda list
- name: Test
run: |
nosetests -v tests/test_pipeline_control.py
nosetests -v tests/test_import.py
nosetests -v tests/test_style.py