-
Notifications
You must be signed in to change notification settings - Fork 22
46 lines (41 loc) · 1.11 KB
/
pr.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: pr
on:
pull_request:
branches:
- v2
jobs:
lint:
name: linters
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- uses: actions/setup-python@v2
with:
python-version: 3.12
- run: |
python -m pip install --upgrade pip
pip install flynt lint black
pip install -r requirements.txt
- name: Run linters
run: make lint
sanity:
runs-on: ubuntu-latest
strategy:
matrix:
ansible: ['stable-2.15', 'stable-2.16', 'stable-2.17', 'devel']
python: ['3.9', '3.10', '3.11', '3.12']
exclude:
- ansible: 'stable-2.15'
python: '3.12'
steps:
- name: Checkout the repository
uses: actions/checkout@v4
with:
path: infoblox.bloxone
- uses: ansible-community/[email protected]
with:
collection-src-directory: infoblox.bloxone
ansible-core-version: ${{ matrix.ansible }}
target-python-version: ${{ matrix.python }}
testing-type: sanity