This repository was archived by the owner on May 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +34
-22
lines changed
lambda_api/.github/workflows
lambda_sqs/.github/workflows Expand file tree Collapse file tree 2 files changed +34
-22
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,12 @@ name: Execute the pylint analysis
1313# push: # Triggers on each pushed commit
1414# branches:
1515# - 'master'
16- on : [ push ]
16+ on : [push]
1717
1818jobs :
19- build :
20- runs-on : ubuntu-latest
19+ setup-environment :
20+ name : Setup deployment environment (Ubuntu 18.04 - Python 3.x)
21+ runs-on : ubuntu-18.04
2122 strategy :
2223 matrix :
2324 python-version : [ "3.8", "3.9", "3.10" ]
@@ -28,11 +29,16 @@ jobs:
2829 with :
2930 python-version : ${{ matrix.python-version }}
3031 architecture : x64
31- cache : ' pip'
32- - name : Install dependencies
33- run : |
34- python -m pip install --upgrade pip
35- pip install pylint
36- - name : Analysing the code with pylint
37- run : |
38- pylint app.py lambda_app tests
32+ pylint :
33+ runs-on : ubuntu-18.04
34+ needs : setup-environment
35+ steps :
36+ - uses : actions/checkout@v2
37+ - name : Install pylint
38+ run : |
39+ python -m pip install --upgrade pip
40+ pip install pylint
41+ - name : Execute pylint
42+ run : |
43+ # pylint ./app.py ./lambda_app ./tests/unit ./tests/integration ./tests/component
44+ pylint ./app.py ./lambda_app
Original file line number Diff line number Diff line change @@ -13,11 +13,12 @@ name: Execute the pylint analysis
1313# push: # Triggers on each pushed commit
1414# branches:
1515# - 'master'
16- on : [ push ]
16+ on : [push]
1717
1818jobs :
19- build :
20- runs-on : ubuntu-latest
19+ setup-environment :
20+ name : Setup deployment environment (Ubuntu 18.04 - Python 3.x)
21+ runs-on : ubuntu-18.04
2122 strategy :
2223 matrix :
2324 python-version : [ "3.8", "3.9", "3.10" ]
@@ -28,11 +29,16 @@ jobs:
2829 with :
2930 python-version : ${{ matrix.python-version }}
3031 architecture : x64
31- cache : ' pip'
32- - name : Install dependencies
33- run : |
34- python -m pip install --upgrade pip
35- pip install pylint
36- - name : Analysing the code with pylint
37- run : |
38- pylint app.py lambda_app tests
32+ pylint :
33+ runs-on : ubuntu-18.04
34+ needs : setup-environment
35+ steps :
36+ - uses : actions/checkout@v2
37+ - name : Install pylint
38+ run : |
39+ python -m pip install --upgrade pip
40+ pip install pylint
41+ - name : Execute pylint
42+ run : |
43+ # pylint ./app.py ./lambda_app ./tests/unit ./tests/integration ./tests/component
44+ pylint ./app.py ./lambda_app
You can’t perform that action at this time.
0 commit comments