FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
PythonExamples/.github/workflows/python.yml at master · tdchwish/PythonExamples · GitHub
tdchwish
/
PythonExamples
Public
forked from
geekcomputers/Python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
PythonExamples
/
.github
/
workflows
/
python.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
44 lines (34 loc) · 1.18 KB
Breadcrumbs
PythonExamples
/
.github
/
workflows
/
python.yml
Copy path
File metadata and controls
44 lines (34 loc) · 1.18 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name
:
Python Checks
on
:
pull_request
:
types
:
[opened, synchronize, reopened]
push
:
branches
:
-
main
concurrency
:
group
:
${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress
:
true
jobs
:
Test
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@v4
-
name
:
Set up Python
uses
:
actions/setup-python@v5
with
:
python-version
:
'
3.14.0
'
-
name
:
Install all dependencies and tools
run
:
|
python -m pip install --upgrade pip
pip install ruff bandit mypy pytest codespell requests-mock colorama
-
name
:
Run Codespell check
run
:
codespell --skip "*.json,*.txt,*.pdf" || true
-
name
:
Run Bandit security scan
run
:
bandit -r . --skip B101,B105 || true
-
name
:
Run Pytest tests
run
:
pytest || true
-
name
:
Run Ruff checks with ignored rules
run
:
ruff check . --ignore B904,B905,EM101,EXE001,G004,ISC001,PLC0415,PLC1901,PLW060,PLW1641,PLW2901,PT011,PT018,PT028,S101,S311,SIM905,SLF001,F405
-
name
:
Run Mypy type checks
run
:
mypy . --ignore-missing-imports || true
Back
|
FazBrowse Home
|
New Git URL