File tree Expand file tree Collapse file tree 3 files changed +93
-3
lines changed
Expand file tree Collapse file tree 3 files changed +93
-3
lines changed Original file line number Diff line number Diff line change 5252 - name : Lint tests with Pylint
5353 run : pylint tests
5454
55+ sec_check :
56+ name : Check the safety of PyFunceble
57+
58+ runs-on : " ${{ matrix.os }}"
59+
60+ strategy :
61+ fail-fast : false
62+ matrix :
63+ python_version :
64+ - " 3.12"
65+ os :
66+ - ubuntu-latest
67+
68+ steps :
69+ - uses : actions/checkout@v5
70+ name : Clone repository
71+
72+ - name : Set up Python ${{ matrix.python_version }}
73+ uses : actions/setup-python@v6
74+ with :
75+ python-version : ${{ matrix.python_version }}
76+
77+ - name : Install dependencies
78+ run : |
79+ pip install --upgrade pip
80+ pip install .[test,dev]
81+
82+ - name : Check the safety of the codebase with Bandit
83+ run : bandit --ini=setup.cfg -r PyFunceble
84+
5585 test :
56- needs : [lint]
86+ needs : [lint,sec_check ]
5787 name : " [${{ matrix.os }}-py${{ matrix.python_version }}] Test PyFunceble"
5888
5989 runs-on : " ${{ matrix.os }}"
Original file line number Diff line number Diff line change 4848 - name : Lint tests with Pylint
4949 run : pylint tests
5050
51+ sec_check :
52+ name : Check the safety of PyFunceble
53+
54+ runs-on : " ${{ matrix.os }}"
55+
56+ strategy :
57+ fail-fast : false
58+ matrix :
59+ python_version :
60+ - " 3.12"
61+ os :
62+ - ubuntu-latest
63+
64+ steps :
65+ - uses : actions/checkout@v5
66+ name : Clone repository
67+
68+ - name : Set up Python ${{ matrix.python_version }}
69+ uses : actions/setup-python@v6
70+ with :
71+ python-version : ${{ matrix.python_version }}
72+
73+ - name : Install dependencies
74+ run : |
75+ pip install --upgrade pip
76+ pip install .[test,dev]
77+
78+ - name : Check the safety of the codebase with Bandit
79+ run : bandit --ini=setup.cfg -r PyFunceble
80+
5181 deps_safety_check :
5282 name : Check the safety of our dependencies.
5383
80110 run : safety check -i 51668 -i 62044 -i 67599 -i 70612
81111
82112 test :
83- needs : [lint, deps_safety_check]
113+ needs : [lint, deps_safety_check, sec_check ]
84114 name : " [${{ matrix.os }}-py${{ matrix.python_version }}] Test PyFunceble"
85115
86116 runs-on : " ${{ matrix.os }}"
Original file line number Diff line number Diff line change 7979 - name : Check the safety of our dependencies.
8080 run : safety check -i 51668 -i 62044 -i 67599 -i 70612
8181
82+ sec_check :
83+ name : Check the safety of PyFunceble
84+
85+ runs-on : " ${{ matrix.os }}"
86+
87+ strategy :
88+ fail-fast : false
89+ matrix :
90+ python_version :
91+ - " 3.12"
92+ os :
93+ - ubuntu-latest
94+
95+ steps :
96+ - uses : actions/checkout@v5
97+ name : Clone repository
98+
99+ - name : Set up Python ${{ matrix.python_version }}
100+ uses : actions/setup-python@v6
101+ with :
102+ python-version : ${{ matrix.python_version }}
103+
104+ - name : Install dependencies
105+ run : |
106+ pip install --upgrade pip
107+ pip install .[test,dev]
108+
109+ - name : Check the safety of the codebase with Bandit
110+ run : bandit --ini=setup.cfg -r PyFunceble
111+
82112 test :
83- needs : [lint, deps_safety_check]
113+ needs : [lint, deps_safety_check, sec_check ]
84114 name : " [${{ matrix.os }}-py${{ matrix.python_version }}] Test PyFunceble"
85115
86116 runs-on : " ${{ matrix.os }}"
You can’t perform that action at this time.
0 commit comments