From aff1830f4949a1a418fa7e3bb2bc5d036a655246 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, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/testing_framework.yaml b/.github/workflows/testing_framework.yaml index 6544ea21..3866c18b 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" @@ -45,14 +45,15 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4.1.7 - with: - ref: 'main' - name: Set up Python uses: actions/setup-python@v5.1.0 with: python-version: '3.11' + - name: Debug - List directory contents + run: ls -al ./main/recipes/natural_language_processing/chatbot + - name: Install opentelemetry dependencies run: | pip install --no-cache-dir opentelemetry-sdk opentelemetry-exporter-otlp opentelemetry-instrumentation @@ -140,7 +141,7 @@ 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: | @@ -151,11 +152,11 @@ jobs: 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 }}