Skip to content

[READY] Remove ansible-test from CI #1

[READY] Remove ansible-test from CI

[READY] Remove ansible-test from CI #1

---
name: ansible-test
on:
pull_request:
paths:
- '.github/**'
- 'facts/**'
- 'tests/**'
- 'switch-configuration/config/**'
push: # This is only run when PRs are merged into master
branches:
- master
workflow_dispatch:
jobs:
validate_datafiles:
name: validate_datafiles
runs-on: ubuntu-latest
defaults:
run:
working-directory: facts/
container:
image: kylerisse/ansible-tester@sha256:f6a9507ec1d7a2dd0570cd88cb19746840c4f97e7618f53158616b9e1f5a3618
steps:
- name: checkout
id: checkout
uses: actions/checkout@v2
- name: lint_python_files
run: pylint *.py
- name: datafile_unittest
run: pytest -vv