-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (34 loc) · 933 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
---
name: pylint
on:
pull_request:
push:
schedule:
- cron: "25 6 * * 1"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: 'rls.unbound'
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install test dependencies.
run: pip3 install dnspython ansible molecule "molecule-plugins[docker]" requests==2.31.0 yamllint ansible-lint
- name: run molecule converge
run: molecule converge
working-directory: rls.unbound
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
fetch_dnsbl_updater: true
- name: install pylint
run: |
python -m pip install --upgrade pip
pip install pylint==2.7.2 pyyaml lockfile
- name: run pylint
run: |
pylint /tmp/unbound-dnsbl-updater.py