-
Notifications
You must be signed in to change notification settings - Fork 109
38 lines (36 loc) · 1.1 KB
/
integration-test.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
name: Integration
on:
pull_request_target:
branches: [main]
types:
- labeled
- opened
- reopened
- synchronize
paths:
- "plugins/**"
- "tests/integration/**"
workflow_dispatch:
jobs:
safe-to-test:
if: >-
github.event.label.name == 'safe to test' ||
github.event.action != 'labeled'
uses: ansible-network/github_actions/.github/workflows/safe-to-test.yml@main
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
integration:
uses: ansible/ansible-content-actions/.github/workflows/network_integration.yaml@main
needs:
- safe-to-test
with:
lab_title: cisco_nxos
network_os: cisco.nxos.nxos
pytest_addopts: "--color=yes -n 2 --log-level WARNING -vvv --role-excludes=snmp_server"
collection_pre_install: >-
git+https://github.com/ansible-collections/ansible.utils.git
git+https://github.com/ansible-collections/ansible.netcommon.git
secrets:
cml_ssh_password: ${{ secrets.CML_SSH_PASSWORD }}
virl_host: ${{ secrets.VIRL_HOST }}
virl_password: ${{ secrets.VIRL_PASSWORD }}