FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
validators/.github/workflows/pycqa.yaml at 0.29.0 · python-validators/validators · GitHub
python-validators
validators
Repository navigation
Code
Issues
6
(6)
Pull requests
34
(34)
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
validators
/
.github
/
workflows
/
pycqa.yaml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
53 lines (53 loc) · 1.46 KB
Breadcrumbs
validators
/
.github
/
workflows
/
pycqa.yaml
Copy path
File metadata and controls
53 lines (53 loc) · 1.46 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
45
46
47
48
49
50
51
52
53
#
Python Code Quality Analysis
name
:
pycqa
on
:
workflow_dispatch
:
push
:
branches
:
[master]
pull_request
:
branches
:
[master]
jobs
:
tooling
:
runs-on
:
ubuntu-latest
env
:
PIP_DISABLE_PIP_VERSION_CHECK
:
1
steps
:
#
checkout repository
-
name
:
Checkout repository
uses
:
actions/checkout@v4
#
set up specific python version
-
name
:
Set up Python v3.8
uses
:
actions/setup-python@v5
with
:
python-version
:
"
3.8
"
#
tooling
-
name
:
Install 'tooling' dependencies
run
:
pip install -r package/requirements.tooling.txt
-
name
:
Tooling
run
:
|
black .
ruff check .
pyright .
testing
:
strategy
:
fail-fast
:
true
matrix
:
os
:
[ubuntu-latest, macos-latest, windows-latest]
python-version
:
["3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on
:
${{ matrix.os }}
steps
:
#
checkout repository again!
#
ref: https://github.com/actions/checkout/issues/19
-
name
:
Checkout repository
uses
:
actions/checkout@v4
#
set up specific python version
-
name
:
Set up Python v${{ matrix.python-version }}
uses
:
actions/setup-python@v5
with
:
python-version
:
${{ matrix.python-version }}
cache
:
"
pip
"
#
testing
-
name
:
Install 'testing' dependencies
run
:
pip install -r package/requirements.testing.txt
-
name
:
Testing
run
:
pytest .
Back
|
FazBrowse Home
|
New Git URL