This repository was archived by the owner on May 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +16
-12
lines changed
Expand file tree Collapse file tree 1 file changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -16,23 +16,27 @@ name: Execute the pylint analysis
1616on : [push]
1717
1818jobs :
19- build :
19+ setup-environment :
20+ name : Setup deployment environment (Ubuntu 18.04 - Node 12.x)
21+ runs-on : ubuntu-18.04
22+ # runs-on: ubuntu-latest
23+ strategy :
24+ matrix :
25+ python-version : [ "3.8", "3.9", "3.10" ]
26+ steps :
27+ - name : Set up Python ${{ matrix.python-version }}
28+ uses : actions/setup-python@v2
29+ with :
30+ python-version : ${{ matrix.python-version }}
31+ architecture : x64
32+ cache : ' pip'
33+ lint :
2034 runs-on : ubuntu-latest
21- strategy :
22- matrix :
23- python-version : [ "3.8", "3.9", "3.10" ]
35+ needs : setup-environment
2436 steps :
2537 - uses : actions/checkout@v2
26- - name : Set up Python ${{ matrix.python-version }}
27- uses : actions/setup-python@v2
28- with :
29- python-version : ${{ matrix.python-version }}
30- architecture : x64
31- cache : ' pip'
3238 - name : Install dependencies
3339 run : |
3440 python -m pip install --upgrade pip
3541 pip install pylint
36- - name : Analysing the code with pylint
37- - run : |
3842 pylint ./examples/*/app.py ./examples/*/*
You can’t perform that action at this time.
0 commit comments