File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : bandit
22
33on :
4- push :
5- branches-ignore : [main]
64 pull_request :
75 branches : [main]
86
Original file line number Diff line number Diff line change 11name : bearer
22
33on :
4- push :
5- branches-ignore : [main]
64 pull_request :
75 branches : [main]
86
Original file line number Diff line number Diff line change 11name : black
22
33on :
4- push :
5- branches-ignore : [main]
64 pull_request :
75 branches : [main]
86
3634 source ./venv/bin/activate
3735 echo "PATH=${PATH}" >> "${GITHUB_ENV}"
3836 python -m pip install --upgrade pip
39- python -m pip install --requirement development-requirements.txt
40- python -m pip install --requirement requirements.txt
37+ python -m pip install --group all .
4138
4239 - name : Run black testing
4340 run : |
Original file line number Diff line number Diff line change 3434 source ./venv/bin/activate
3535 echo "PATH=${PATH}" >> "${GITHUB_ENV}"
3636 python -m pip install --upgrade pip
37- python -m pip install --requirement development-requirements.txt
37+ python -m pip install --group all .
Original file line number Diff line number Diff line change 77permissions : {}
88
99jobs :
10- fpvs :
11- permissions :
12- contents : read
13- runs-on : ubuntu-latest
14- strategy :
15- fail-fast : false
16- matrix :
17- python-version : ["3.12"]
18-
19- steps :
20- - name : Checkout repository
21- uses : actions/checkout@v5
22- with :
23- persist-credentials : false
24-
25- - name : Set up Python ${{ matrix.python-version }}
26- uses : actions/setup-python@v6
27- with :
28- python-version : ${{ matrix.python-version }}
29-
30- - name : Install dependencies
31- run : |
32- python -m venv ./venv
33- source ./venv/bin/activate
34- echo "PATH=${PATH}" >> "${GITHUB_ENV}"
35- python -m pip install --upgrade pip
36- python -m pip install --requirement development-requirements.txt
37- python -m pip install --requirement requirements.txt
38- python -m pip wheel -r requirements.txt --wheel-dir=vendor
39-
40- - name : Run fpvs scan
41- run : |
42- python -m pip install fpvs
43- git clone https://gitlab.com/gitlab-org/security-products/gemnasium-db.git
44- fpvs-scan --verbose
45-
4610 pip-audit :
4711 permissions :
4812 contents : read
6832 python -m venv ./venv
6933 source ./venv/bin/activate
7034 echo "PATH=${PATH}" >> "${GITHUB_ENV}"
71- python -m pip install --requirement requirements.txt
7235 python -m pip install .
7336
7437 - name : Run pip-audit
7538 uses : pypa/gh-action-pip-audit@v1.1.0
7639 with :
77- inputs : requirements.txt
40+ inputs : ${{ github.workspace}}
Original file line number Diff line number Diff line change 11name : flake8
22
33on :
4- push :
5- branches-ignore : [main]
64 pull_request :
75 branches : [main]
86
Original file line number Diff line number Diff line change 11name : isort
22
33on :
4- push :
5- branches-ignore : [main]
64 pull_request :
75 branches : [main]
86
3533 source ./venv/bin/activate
3634 echo "PATH=${PATH}" >> "${GITHUB_ENV}"
3735 python -m pip install --upgrade pip
38- python -m pip install --requirement development-requirements.txt
39- python -m pip install --requirement requirements.txt
36+ python -m pip install --group all .
4037
4138 - name : Run isort
4239 uses : isort/isort-action@v1
4340 with :
44- configuration :
45- requirements-files : requirements.txt
4641 sort-paths : " sz_tools"
Original file line number Diff line number Diff line change 11name : mypy
22
33on :
4- push :
5- branches-ignore : [main]
64 pull_request :
75 branches : [main]
86
3634 source ./venv/bin/activate
3735 echo "PATH=${PATH}" >> "${GITHUB_ENV}"
3836 python -m pip install --upgrade pip
39- python -m pip install --requirement development-requirements.txt
40- python -m pip install --requirement requirements.txt
37+ python -m pip install --group all .
4138
4239 - name : Run mypy tests
4340 run : |
Original file line number Diff line number Diff line change 11name : pylint
22
33on :
4- push :
5- branches-ignore : [main]
64 pull_request :
75 branches : [main]
86
3533 source ./venv/bin/activate
3634 echo "PATH=${PATH}" >> "${GITHUB_ENV}"
3735 python -m pip install --upgrade pip
38- python -m pip install --requirement development-requirements.txt
39- python -m pip install --requirement requirements.txt
36+ python -m pip install --group all .
4037
4138 - name : Analysing the code with pylint
4239 run : |
Original file line number Diff line number Diff line change 4545 source ./venv/bin/activate
4646 echo "PATH=${PATH}" >> "${GITHUB_ENV}"
4747 python -m pip install --upgrade pip
48- python -m pip install --requirement development-requirements.txt
49- python -m pip install --requirement requirements.txt
50-
51- - if : matrix.python-version == '3.10'
52- name : Install python libraries for python 3.10
53- run : |
54- source ./venv/bin/activate
55- python -m pip install typing_extensions
48+ python -m pip install --group all .
5649
5750 - name : Install Senzing SDK
5851 uses : senzing-factory/github-action-install-senzing-sdk@v3
You can’t perform that action at this time.
0 commit comments