File tree Expand file tree Collapse file tree 2 files changed +52
-21
lines changed
Expand file tree Collapse file tree 2 files changed +52
-21
lines changed Original file line number Diff line number Diff line change 1+ # name: qiita-files CI
2+
3+ on :
4+ push :
5+ branches : [ dev ]
6+ pull_request :
7+
8+ jobs :
9+ # derived from https://github.com/actions/example-services/blob/master/.github/workflows/postgres-service.yml
10+ main :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ # Downloads a copy of the code in your repository before running CI tests
15+ - name : Check out repository code
16+ uses : actions/checkout@v2
17+
18+ - name : Setup for conda
19+ uses : conda-incubator/setup-miniconda@v2
20+ with :
21+ auto-update-conda : true
22+ python-version : 3.6
23+
24+ - name : Basic dependencies install
25+ shell : bash -l {0}
26+ run : |
27+ conda create --yes -n qiita-files python=3.6 h5py pandas scipy numpy
28+ conda activate qiita-files
29+ pip install .
30+ pip install sphinx sphinx-bootstrap-theme nose-timer codecov Click
31+
32+ - name : Main tests
33+ shell : bash -l {0}
34+ run : |
35+ conda activate qiita-files
36+ nosetests --with-doctest --with-coverage --cover-package=qiita_files
37+
38+ lint :
39+ runs-on : ubuntu-latest
40+ steps :
41+ - name : flake8
42+ uses : actions/setup-python@v2
43+ with :
44+ python-version : 3.6
45+ - name : install dependencies
46+ run : python -m pip install --upgrade pip
47+ - name : Check out repository code
48+ uses : actions/checkout@v2
49+ - name : lint
50+ run : |
51+ pip install -q flake8
52+ flake8 qiita_files setup.py
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments