1515 - name : Run black
1616 uses : psf/black@stable
1717
18+ - name : Run yamllint
19+ uses : ibiqlik/action-yamllint@v3
20+ with :
21+ file_or_dir : .
22+ config_file : .yamllint.yml
23+ strict : true
24+
1825 unit_testing :
1926 runs-on : ubuntu-24.04
2027 needs : linting
6673 strategy :
6774 fail-fast : false
6875 matrix :
69- include :
76+ include :
7077 - VERSION : " v4.1"
7178 NETBOX_DOCKER_VERSION : 3.0.1
7279 - VERSION : " v4.2"
@@ -114,7 +121,7 @@ jobs:
114121 docker container ls
115122 docker logs netbox-docker-netbox-1
116123 timeout 300 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:32768/login/)" != "200" ]]; do echo "waiting for NetBox"; sleep 5; done' || false
117- working-directory : /home/runner/.ansible/collections/ansible_collections/netbox/netbox
124+ working-directory : /home/runner/.ansible/collections/ansible_collections/netbox/netbox
118125
119126 - name : Pre-populate NetBox
120127 run : ./tests/integration/netbox-deploy.py
@@ -126,13 +133,13 @@ jobs:
126133 ansible-test integration -v --color --coverage --python ${{ env.python-version }} inventory-${{ matrix.VERSION }}
127134 working-directory : /home/runner/.ansible/collections/ansible_collections/netbox/netbox
128135
129- - name : Run regression tests
136+ - name : Run regression tests
130137 continue-on-error : true
131- run : |
132- ansible-test integration -v --color --coverage --python ${{ env.python-version }} regression-${{ matrix.VERSION }}
138+ run : |
139+ ansible-test integration -v --color --coverage --python ${{ env.python-version }} regression-${{ matrix.VERSION }}
133140 working-directory : /home/runner/.ansible/collections/ansible_collections/netbox/netbox
134141
135- - name : Run integration tests
142+ - name : Run integration tests
136143 run : |
137144 ansible-test integration -v --color --coverage --python ${{ env.python-version }} ${{ matrix.VERSION }}
138145 ansible-test coverage report --all --omit "tests/*,hacking/*,docs/*" --show-missing
0 commit comments