File tree Expand file tree Collapse file tree 1 file changed +25
-4
lines changed Expand file tree Collapse file tree 1 file changed +25
-4
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,32 @@ jobs:
28
28
- name : Install dependencies
29
29
run : |
30
30
python -m pip install --upgrade pip
31
- python -m pip install pycodestyle
31
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
32
+ - name : Test
33
+ run : |
34
+ python setup.py test
35
+
36
+
37
+ lint :
38
+
39
+ runs-on : ubuntu-latest
40
+ strategy :
41
+ fail-fast : false
42
+ matrix :
43
+ python-version : [3.9]
44
+
45
+ steps :
46
+ - uses : actions/checkout@v2
47
+ - name : Set up Python ${{ matrix.python-version }}
48
+ uses : actions/setup-python@v2
49
+ with :
50
+ python-version : ${{ matrix.python-version }}
51
+ - name : Install dependencies
52
+ run : |
53
+ python -m pip install --upgrade pip
54
+ python -m pip install pycodestyle
32
55
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
33
56
- name : Lint with pycodestyle
34
57
run : |
35
58
pycodestyle tableaudocumentapi test samples
36
- - name : Test
37
- run : |
38
- python setup.py test
59
+
You can’t perform that action at this time.
0 commit comments