From ef64c26e702ce492ae7e34632b7f6c4bde2f8016 Mon Sep 17 00:00:00 2001 From: sallyom Date: Sat, 6 Jul 2024 23:27:35 -0400 Subject: [PATCH] fix testing-framework workflow Signed-off-by: sallyom --- .github/workflows/testing_framework.yaml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/testing_framework.yaml b/.github/workflows/testing_framework.yaml index 6544ea21..d846708a 100644 --- a/.github/workflows/testing_framework.yaml +++ b/.github/workflows/testing_framework.yaml @@ -6,9 +6,9 @@ on: #workflow_dispatch: - # pull_request: ## temporary for debugging development purposes - # branches: - # - main + pull_request: ## temporary for debugging development purposes + branches: + - main env: TF_VAR_aws_region: "eu-west-2" @@ -53,6 +53,9 @@ jobs: with: python-version: '3.11' + - name: Debug - List directory contents + run: ls -al ./recipes/natural_language_processing/chatbot + - name: Install opentelemetry dependencies run: | pip install --no-cache-dir opentelemetry-sdk opentelemetry-exporter-otlp opentelemetry-instrumentation @@ -140,22 +143,22 @@ jobs: - name: Ansible Collections run: ansible-galaxy install -r ./provision/requirements.yml - working-directory: ./main/recipes/natural_language_processing/chatbot + working-directory: ./recipes/natural_language_processing/chatbot - name: Provision run: | - ansible-playbook ./main/recipes/natural_language_processing/chatbot/provision/playbook.yml \ + ansible-playbook ./recipes/natural_language_processing/chatbot/provision/playbook.yml \ -i terraform-test-environment-module/hosts.ini \ --private-key=terraform-test-environment-module/${{ steps.terraform-output.outputs.pem_filename }} env: ANSIBLE_HOST_KEY_CHECKING: false - name: Install Dependencies - working-directory: ./main/recipes/natural_language_processing/chatbot + working-directory: ./recipes/natural_language_processing/chatbot run: make install - name: Run Integration Tests - working-directory: ./main/recipes/natural_language_processing/chatbot + working-directory: ./recipes/natural_language_processing/chatbot run: make integration-tests env: URL: ${{ steps.terraform-output.outputs.url }}