diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..e69de29 diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md new file mode 100644 index 0000000..e69de29 diff --git a/.github/workflows/run-ansible-sanity-tests.yml b/.github/workflows/run-ansible-sanity-tests.yml new file mode 100644 index 0000000..db9374d --- /dev/null +++ b/.github/workflows/run-ansible-sanity-tests.yml @@ -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