File tree Expand file tree Collapse file tree 2 files changed +21
-6
lines changed
Expand file tree Collapse file tree 2 files changed +21
-6
lines changed Original file line number Diff line number Diff line change 11name : Pylint
22
3- on : [push]
3+ on :
4+ push :
5+ branches : [ main, live ]
6+ pull_request :
7+ branches : [ main, live ]
48
59jobs :
610 build :
7- defaults :
8- run :
9- working-directory : demo/graphtutorial
1011
1112 runs-on : ubuntu-latest
1213 strategy :
1314 matrix :
1415 python-version : ["3.8", "3.9", "3.10"]
16+
1517 steps :
1618 - uses : actions/checkout@v3
1719 - name : Set up Python ${{ matrix.python-version }}
1820 uses : actions/setup-python@v3
1921 with :
2022 python-version : ${{ matrix.python-version }}
21- - name : Install dependencies
23+ - name : Install dependencies (user auth)
24+ working-directory : /user-auth/graphtutorial
25+ run : |
26+ python -m pip install --upgrade pip
27+ pip install -r requirements.txt
28+ pip install pylint
29+ - name : Analyzing the code with pylint (user auth)
30+ working-directory : /user-auth/graphtutorial
31+ run : |
32+ pylint $(git ls-files '*.py')
33+ - name : Install dependencies (app auth)
34+ working-directory : /app-auth/graphapponlytutorial
2235 run : |
2336 python -m pip install --upgrade pip
2437 pip install -r requirements.txt
2538 pip install pylint
26- - name : Analysing the code with pylint
39+ - name : Analyzing the code with pylint (app auth)
40+ working-directory : /app-auth/graphapponlytutorial
2741 run : |
2842 pylint $(git ls-files '*.py')
Original file line number Diff line number Diff line change 11{
22 "cSpell.words" : [
3+ " graphapponlytutorial" ,
34 " graphtutorial" ,
45 " Pylint"
56 ]
You can’t perform that action at this time.
0 commit comments