-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (40 loc) · 942 Bytes
/
pylint.yml
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: python lint
on:
push:
branches:
- master
paths:
- 'cgiexecute'
- 'mediastream'
- 'screenshot'
- 'setbackground'
- 'setringtone'
- 'xmlinfo'
- '.pylintrc'
- '.github/workflows/pylint.yml'
pull_request:
branches:
- master
paths:
- 'cgiexecute'
- 'mediastream'
- 'screenshot'
- 'setbackground'
- 'setringtone'
- 'xmlinfo'
- '.pylintrc'
- '.github/workflows/pylint.yml'
workflow_dispatch:
jobs:
lint:
name: Run python linter
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install packages
run: |
sudo apt install pylint python3-lxml python3-requests python3-gi python3-gst-1.0
- name: Run pylint
run: |
pylint cgiexecute mediastream screenshot setbackground setringtone xmlinfo