-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (34 loc) · 1.18 KB
/
cibuild.yml
File metadata and controls
36 lines (34 loc) · 1.18 KB
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
name: CI Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
sudo apt-get update
sudo apt-get install minimap2 samtools fastqc tabix
curl -L -O http://ccb.jhu.edu/software/FLASH/FLASH-1.2.11-Linux-x86_64.tar.gz && tar -xzf FLASH-1.2.11-Linux-x86_64.tar.gz && sudo cp FLASH-1.2.11-Linux-x86_64/flash /usr/local/bin/ && rm -r FLASH-1.2.11*
python -m pip install --upgrade pip
pip install .
mhpl8r getrefr
make devdeps
- name: Test with pytest
run: |
# Move the source code so the tests run on the *installed* code (which is where the
# reference genome index is placed) rather than the source code
mv microhapulator mhpl8r_src
make test
# Move the code back for style check
mv mhpl8r_src microhapulator
- name: Style check
run: make style