From 8a9cb79fa4867c879d43a95760a9d17c7d0ab1be Mon Sep 17 00:00:00 2001 From: Guido Grazioli Date: Thu, 13 Jan 2022 20:08:41 +0100 Subject: [PATCH] Update CI ansible collection download path --- .github/workflows/ci.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9034acc..89fd1bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,8 +15,6 @@ jobs: steps: - name: Check out code uses: actions/checkout@v2 - with: - path: ansible_collections/middleware_automation/keycloak - name: Set up Python ${{ matrix.python_version }} uses: actions/setup-python@v1 @@ -28,18 +26,15 @@ jobs: python -m pip install --upgrade pip pip install yamllint 'molecule[docker]~=3.5.2' ansible-core flake8 ansible-lint voluptuous - - name: Create default collection path symlink + - name: Create default collection path run: | - mkdir -p /home/runner/.ansible - ln -s /home/runner/work/middleware_automation/keycloak /home/runner/.ansible/collections + mkdir -p /home/runner/.ansible/collections/ansible_collections - name: Run sanity tests run: ansible-test sanity --docker -v --color --python ${{ matrix.python_version }} - working-directory: ./ansible_collections/middleware_automation/keycloak - name: Run molecule test run: molecule test --all - working-directory: ./ansible_collections/middleware_automation/keycloak env: PY_COLORS: '1' ANSIBLE_FORCE_COLOR: '1'