File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Tests
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ branches :
9
+ - master
10
+
11
+ defaults :
12
+ run :
13
+ shell : bash -l {0}
14
+
15
+ jobs :
16
+ run :
17
+ runs-on : ${{ matrix.os }}
18
+
19
+ strategy :
20
+ fail-fast : false
21
+ matrix :
22
+ os : [ubuntu-latest]
23
+ python-version : [3.9]
24
+
25
+ steps :
26
+ - name : Checkout
27
+ uses : actions/checkout@v2
28
+
29
+ - name : Setup conda
30
+ uses : conda-incubator/setup-miniconda@v2
31
+ with :
32
+ python-version : ${{ matrix.python-version }}
33
+ mamba-version : " *"
34
+ auto-activate-base : false
35
+ channels : conda-forge
36
+
37
+ - name : Install dependencies
38
+ run : mamba install ipython matplotlib flake8
39
+
40
+ - name : Install package
41
+ run : pip install .
42
+
43
+ - name : Test flake8
44
+ run : flake8 matplotlib_inline --ignore=E501,W504,W503
You can’t perform that action at this time.
0 commit comments