From 35a34f059e85cc76902260270f6dbb61c1312989 Mon Sep 17 00:00:00 2001 From: kylerisse Date: Wed, 27 Sep 2023 15:09:20 +0100 Subject: [PATCH] remove ansible-test from CI --- ...nsible-test.yml => validate-datafiles.yml} | 22 ------------------- 1 file changed, 22 deletions(-) rename .github/workflows/{ansible-test.yml => validate-datafiles.yml} (52%) diff --git a/.github/workflows/ansible-test.yml b/.github/workflows/validate-datafiles.yml similarity index 52% rename from .github/workflows/ansible-test.yml rename to .github/workflows/validate-datafiles.yml index bc7e5630..bfefbfe0 100644 --- a/.github/workflows/ansible-test.yml +++ b/.github/workflows/validate-datafiles.yml @@ -5,7 +5,6 @@ on: pull_request: paths: - '.github/**' - - 'ansible/**' - 'facts/**' - 'tests/**' - 'switch-configuration/config/**' @@ -14,7 +13,6 @@ on: - master workflow_dispatch: - jobs: validate_datafiles: name: validate_datafiles @@ -32,23 +30,3 @@ jobs: run: pylint *.py - name: datafile_unittest run: pytest -vv - ansible_tests: - name: ansible_tests - runs-on: ubuntu-latest - container: - image: kylerisse/ansible-tester@sha256:f6a9507ec1d7a2dd0570cd88cb19746840c4f97e7618f53158616b9e1f5a3618 - defaults: - run: - working-directory: ansible/ - steps: - - name: checkout - id: checkout - uses: actions/checkout@v2 - - name: lint_ansible_playbook - run: ansible-lint -x 403 -x 503 scale.yml - - name: lint_ansible_python - run: pylint *.py - - name: lint_ansible_python_unittests - run: pytest -vv - - name: ansible_inventory_properly_formed - run: ./inventory.py | jq .