Skip to content

Commit

Permalink
Update ansible-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelfrancisBustillos authored Jan 5, 2025
1 parent 7d9154a commit 8db4be5
Showing 1 changed file with 38 additions and 24 deletions.
62 changes: 38 additions & 24 deletions .github/workflows/ansible-test.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,38 @@
- name: Perform integration testing with ansible-test
uses: ansible-community/ansible-test-gh-action@release/v1
with:
ansible-core-version: stable-2.14
pre-test-cmd: echo This runs before the ansible-test invocation
target-python-version: 3.11
controller-python-version: auto
testing-type: integration
test-deps: ansible.netcommon
- name: Perform sanity testing with ansible-test
uses: ansible-community/ansible-test-gh-action@release/v1
with:
ansible-core-version: stable-2.14
testing-type: sanity
- name: Perform unit testing with ansible-test
uses: ansible-community/ansible-test-gh-action@release/v1
with:
ansible-core-version: stable-2.14
pre-test-cmd: echo This runs before the ansible-test invocation
target-python-version: 3.11
testing-type: units
test-deps: >-
ansible.netcommon
ansible.utils
name: Ansible Test

on:
push:
branches: [ main ]

Check failure on line 5 in .github/workflows/ansible-test.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[brackets]

Too many spaces inside brackets

pull_request:
branches: [ main ]

Check failure on line 8 in .github/workflows/ansible-test.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[brackets]

Too many spaces inside brackets

jobs:

Check failure on line 10 in .github/workflows/ansible-test.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[trailing-spaces]

Trailing spaces
ansible-test:
runs-on: ubuntu-latest

steps:
- name: Perform integration testing with ansible-test
uses: ansible-community/ansible-test-gh-action@release/v1
with:
ansible-core-version: stable-2.14

Check failure on line 18 in .github/workflows/ansible-test.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[indentation]

Wrong indentation: expected 10 but found 12
pre-test-cmd: echo This runs before the ansible-test invocation
target-python-version: 3.12
controller-python-version: auto
testing-type: integration
test-deps: ansible.netcommon
- name: Perform sanity testing with ansible-test
uses: ansible-community/ansible-test-gh-action@release/v1
with:
ansible-core-version: stable-2.14
testing-type: sanity
- name: Perform unit testing with ansible-test
uses: ansible-community/ansible-test-gh-action@release/v1
with:
ansible-core-version: stable-2.14
pre-test-cmd: echo This runs before the ansible-test invocation
target-python-version: 3.11
testing-type: units
test-deps: >-
ansible.netcommon
ansible.utils

0 comments on commit 8db4be5

Please sign in to comment.