File tree 1 file changed +41
-0
lines changed
1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Linux CI
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : linux
8
+ strategy :
9
+ fail-fast : false
10
+ matrix :
11
+ python-version : ["3.5", "3.6", "3.7", "3.8"]
12
+
13
+ steps :
14
+ - name : Checkout source
15
+ uses : actions/checkout@v2
16
+ with :
17
+ submodules : recursive
18
+
19
+ - name : Set up Python
20
+ uses : actions/setup-python@v1
21
+ with :
22
+ python-version : ${{ matrix.python-version }}
23
+
24
+ - name : Install numcodecs
25
+ run : |
26
+ python -m pip install -U pip setuptools wheel pytest tox -rrequirements_dev.txt -rrequirements_rtfd.txt
27
+ python -m pip install -v -e .
28
+
29
+ - name : List installed packages
30
+ run : python -m pip list
31
+
32
+ - name : Run tests
33
+ run : pytest -v --cov=numcodecs --doctest-modules --doctest-glob=*.pyx numcodecs
34
+
35
+ - name : Flake8
36
+ run : flake8 numcodecs
37
+
38
+ - name : Build Doc:
39
+ run : |
40
+ cd docs
41
+ sphinx-build -W -b html
You can’t perform that action at this time.
0 commit comments