FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-lsp-server/.github/workflows/static.yml at develop · JanMartinek01/python-lsp-server · GitHub
JanMartinek01
/
python-lsp-server
Public
forked from
python-lsp/python-lsp-server
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
python-lsp-server
/
.github
/
workflows
/
static.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
46 lines (43 loc) · 1.27 KB
Breadcrumbs
python-lsp-server
/
.github
/
workflows
/
static.yml
Copy path
File metadata and controls
46 lines (43 loc) · 1.27 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
name
:
Static code analysis
on
:
push
:
branches
:
-
develop
pull_request
:
branches
:
-
'
*
'
jobs
:
build
:
name
:
Static code analysis
runs-on
:
ubuntu-latest
env
:
CI
:
'
true
'
OS
:
'
linux
'
timeout-minutes
:
2
steps
:
-
uses
:
actions/cache@v1
with
:
path
:
~/.cache/pip
key
:
static-pip-${{ hashFiles('setup.py') }}
restore-keys
:
static-pip-
-
uses
:
actions/checkout@v2
-
uses
:
actions/setup-python@v2
with
:
#
TODO: check with Python 3, but need to fix the
#
errors first
python-version
:
'
3.7
'
architecture
:
'
x64
'
-
run
:
python -m pip install --upgrade pip setuptools jsonschema
-
run
:
pip install -e .[pylint,pycodestyle,pyflakes]
-
name
:
Pylint checks
run
:
pylint pylsp test
-
name
:
Code style checks
run
:
pycodestyle pylsp test
-
name
:
Pyflakes checks
run
:
pyflakes pylsp test
-
name
:
Validate JSON schema
run
:
echo {} | jsonschema pylsp/config/schema.json
-
name
:
Ensure JSON schema and Markdown docs are in sync
run
:
|
python scripts/jsonschema2md.py pylsp/config/schema.json EXPECTED_CONFIGURATION.md
diff EXPECTED_CONFIGURATION.md CONFIGURATION.md
Back
|
FazBrowse Home
|
New Git URL