File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,32 @@ name: SSL testing for client connection
22
33on :
44 workflow_dispatch :
5+
6+ jobs :
7+ unit-tests :
8+ runs-on : ubuntu-latest
9+ strategy :
10+ matrix :
11+ python-version : ["3.8", "3.9"]
12+ steps :
13+ - uses : actions/checkout@v3
14+ - name : Set up Python ${{ matrix.python-version }}
15+ uses : actions/setup-python@v3
16+ with :
17+ python-version : ${{ matrix.python-version }}
18+ - name : Run unit test
19+ run : |
20+ python unit_test_1.py
21+ pylint :
22+ runs-on : ubuntu-latest
23+ steps :
24+ - uses : actions/checkout@v3
25+ - name : Set up Python ${{ matrix.python-version }}
26+ uses : actions/setup-python@v3
27+ - name : Install dependencies
28+ run : |
29+ python -m pip install --upgrade pip
30+ pip install pylint
31+ - name : Analysing the code with pylint
32+ run : |
33+ pylint $(git ls-files 'Calculator.py')
You can’t perform that action at this time.
0 commit comments