ci: use ANSIBLE_INJECT_FACT_VARS=false by default for testing #670
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run tests on Ubuntu | |
| on: # yamllint disable-line rule:truthy | |
| - push | |
| - pull_request | |
| jobs: | |
| ubuntu-latest: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout PR | |
| uses: actions/checkout@v6 | |
| - name: ansible check with ubuntu:latest | |
| uses: roles-ansible/check-ansible-ubuntu-latest-action@master | |
| with: | |
| group: local | |
| hosts: localhost | |
| targets: "tests/tests_*.yml" | |
| ubuntu-20: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout PR | |
| uses: actions/checkout@v6 | |
| - name: ansible check with ubuntu:20 (focal) | |
| uses: roles-ansible/check-ansible-ubuntu-focal-action@master | |
| with: | |
| group: local | |
| hosts: localhost | |
| targets: "tests/tests_*.yml" |