Skip to content

Commit 20144bc

Browse files
committed
Added pylint
1 parent e7af581 commit 20144bc

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.github/workflows/pr-tests.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
OS_CLOUD: openstack
1515
openstack_tests_version: ${{ github.ref }}
1616
secrets: inherit
17+
1718
ubuntu-jammy-ovn-aio-test:
1819
name: aio (Ubuntu Jammy OVN)
1920
uses: stackhpc/stackhpc-kayobe-config/.github/workflows/stackhpc-all-in-one.yml@parameterise-aio-tests # todo: change after merge
@@ -26,3 +27,14 @@ jobs:
2627
OS_CLOUD: openstack
2728
openstack_tests_version: ${{ github.ref }}
2829
secrets: inherit
30+
31+
lint:
32+
runs-on: ubuntu-22.04
33+
steps:
34+
- uses: actions/checkout@v4
35+
36+
- name: Install pip dependencies
37+
run: pip install -r requirements.txt
38+
39+
- name: Run pylint
40+
run: pylint stackhpc_openstack_tests/*.py

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
opensearch-py==2.5.*
22
prometheus-api-client==0.5.*
33
pytest-testinfra==10.1.*
4+
pylint==3.3.*

0 commit comments

Comments
 (0)