-
Notifications
You must be signed in to change notification settings - Fork 9
44 lines (35 loc) · 981 Bytes
/
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
name: "Main CI"
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9"]
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: evident
python-version: ${{ matrix.python-version }}
- name: Install conda packages
shell: bash -l {0}
run: conda install -c conda-forge -c anaconda pandas pytest flake8 pytest-cov statsmodels scikit-bio seaborn bokeh click h5py==3.1.0
- name: Install evident
shell: bash -l {0}
run: pip install -e .[dev]
- name: Check style
shell: bash -l {0}
run: make standalone_stylecheck
- name: Run tests
shell: bash -l {0}
run: make standalone_test