Skip to content

Commit fc79693

Browse files
authored
Update check_ssl_security.yml
1 parent d91b3ad commit fc79693

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/check_ssl_security.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,32 @@ name: SSL testing for client connection
22

33
on:
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')

0 commit comments

Comments
 (0)