File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3
+
4
+ name : Python package
5
+
6
+ on :
7
+ push :
8
+ paths-ignore :
9
+ - ' docs/**'
10
+ pull_request :
11
+ branches : *
12
+
13
+ jobs :
14
+ build :
15
+
16
+ runs-on : ubuntu-latest
17
+ strategy :
18
+ fail-fast : false
19
+ matrix :
20
+ python-version : [3.7, 3.8, 3.9]
21
+
22
+ steps :
23
+ - uses : actions/checkout@v2
24
+ - name : Set up Python ${{ matrix.python-version }}
25
+ uses : actions/setup-python@v2
26
+ with :
27
+ python-version : ${{ matrix.python-version }}
28
+ - name : Install dependencies
29
+ run : |
30
+ python -m pip install --upgrade pip
31
+ python -m pip install pycodestyle
32
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
33
+ - name : Lint with pycodestyle
34
+ run : |
35
+ pycodestyle tableaudocumentapi test samples
36
+ - name : Test
37
+ run : |
38
+ python setup.py test
You can’t perform that action at this time.
0 commit comments