File tree Expand file tree Collapse file tree 2 files changed +56
-2
lines changed Expand file tree Collapse file tree 2 files changed +56
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Pull request
2+ on :
3+ pull_request :
4+ jobs :
5+ rocky9-ovs-aio-test :
6+ name : aio (Rocky 9 OVS)
7+ uses : stackhpc/stackhpc-kayobe-config/.github/workflows/stackhpc-all-in-one.yml@stackhpc/2024.1
8+ with :
9+ kayobe_image : ghcr.io/stackhpc/stackhpc-kayobe-config:stackhpc-2024.1
10+ os_distribution : rocky
11+ os_release : " 9"
12+ ssh_username : cloud-user
13+ neutron_plugin : ovs
14+ OS_CLOUD : openstack
15+ stackhpc_cloud_tests_version : ${{ github.head_ref || github.ref_name }}
16+ repository : stackhpc/stackhpc-kayobe-config
17+ github_ref : stackhpc/2024.1
18+ runner : arc-aio-cloud-tests-runner
19+ secrets : inherit
20+
21+ ubuntu-jammy-ovn-aio-test :
22+ name : aio (Ubuntu Jammy OVN)
23+ uses : stackhpc/stackhpc-kayobe-config/.github/workflows/stackhpc-all-in-one.yml@stackhpc/2024.1
24+ with :
25+ kayobe_image : ghcr.io/stackhpc/stackhpc-kayobe-config:stackhpc-2024.1
26+ os_distribution : ubuntu
27+ os_release : jammy
28+ ssh_username : ubuntu
29+ neutron_plugin : ovn
30+ OS_CLOUD : openstack
31+ stackhpc_cloud_tests_version : ${{ github.head_ref || github.ref_name }}
32+ repository : stackhpc/stackhpc-kayobe-config
33+ github_ref : stackhpc/2024.1
34+ runner : arc-aio-cloud-tests-runner
35+ secrets : inherit
36+
37+ lint :
38+ runs-on : ubuntu-22.04
39+ steps :
40+ - uses : actions/checkout@v4
41+
42+ - name : Install pip dependencies
43+ run : pip install -r requirements.txt
44+
45+ - name : Run pylint
46+ run : |
47+ set +e # disabling exit on non-zero error code so can output warnings without failing
48+ pylint stackhpc_cloud_tests/*.py
49+ EXIT_CODE=$?
50+ set -e
51+ if [[ $(($EXIT_CODE & 3)) > 0 ]] #bitwise check for pylint exit codes which indicate errors (01 and 10) https://pylint.readthedocs.io/en/latest/user_guide/usage/run.html#exit-codes
52+ then
53+ exit 1
54+ fi
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ grafana-client==4.1.*
22opensearch-py == 2.5.*
33packaging == 24.*
44prometheus-api-client == 0.5.*
5- pytest-subtests == 0.12 .*
6- pytest-testinfra == 10.1.*
5+ pylint == 3.3 .*
6+ pytest-subtests == 0.12.*pytest- testinfra== 10.1.*
77requests == 2.31.*
You can’t perform that action at this time.
0 commit comments