-
Notifications
You must be signed in to change notification settings - Fork 1
60 lines (49 loc) · 1.18 KB
/
main.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
54
55
56
57
58
59
60
name: Tests
on:
push:
branches:
- main
- dev
pull_request:
branches-ignore: []
schedule:
- cron: '0 0 2 * *'
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
python: [3.8, 3.9, '3.10']
fail-fast: false
steps:
- name: install graphviz
run: |
sudo apt-get install -y graphviz
- name: checkout git repo
uses: actions/checkout@v2
- name: conda/mamba
uses: mamba-org/provision-with-micromamba@main
with:
environment-file: environment.yml
extra-specs: |
python=${{ matrix.python }}
- name: install package itself
shell: bash -l {0}
run: |
pip install .
- name: Install dependencies
shell: bash -l {0}
run: |
pip install coveralls pytest-cov pytest pytest-xdist
- name: testing
shell: bash -l {0}
run: |
pytest -v --cov-report term-missing --cov=sequana_pipelines.pacbio_qc
- name: coveralls
shell: bash -l {0}
run: |
echo $COVERALLS_REPO_TOKEN
coveralls --service=github
env:
GITHUB_TOKEN: ${{ github.token }}