Added sanity tests
This commit is contained in:
parent
fa681b5203
commit
acb0ddf27f
|
|
@ -0,0 +1,26 @@
|
||||||
|
name: Run Ansible Sanity Tests
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
path: ansible_collections/dominion_solutions/netbird
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
cd ansible_collections/dominion_solutions/netbird
|
||||||
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
- name: Run Ansible Sanity Tests
|
||||||
|
run: |
|
||||||
|
cd ansible_collections/dominion_solutions/netbird
|
||||||
|
ansible-test sanity
|
||||||
Loading…
Reference in New Issue