From f342926b7f7f92d59c670aea8787a184a0f73568 Mon Sep 17 00:00:00 2001 From: Matthew Harris Date: Thu, 11 Jul 2024 22:06:17 -0400 Subject: [PATCH] Debug GH e2e --- .github/workflows/e2e_tests.yml | 50 ++++++++++++++++----------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/e2e_tests.yml b/.github/workflows/e2e_tests.yml index 3b79ad6f..2e92c9dc 100644 --- a/.github/workflows/e2e_tests.yml +++ b/.github/workflows/e2e_tests.yml @@ -132,40 +132,40 @@ jobs: # # ssh -i # - #- name: DEBUG - Setup upterm session - # uses: lhotari/action-upterm@v1 + - name: DEBUG - Setup upterm session + uses: lhotari/action-upterm@v1 #- name: DEBUG - Run Selenium outside of promptflow # run: | # docker exec promptflow python call_assistant.py - - name: Run tests - run: | - env > .env - docker exec promptflow pf run create --flow . --data ./data.jsonl --stream --column-mapping query='${data.query}' context='${data.context}' chat_history='${data.chat_history}' --name base_run + # - name: Run tests + # run: | + # env > .env + # docker exec promptflow pf run create --flow . --data ./data.jsonl --stream --column-mapping query='${data.query}' context='${data.context}' chat_history='${data.chat_history}' --name base_run - - name: Check logs post-tests - run: | - docker ps + # - name: Check logs post-tests + # run: | + # docker ps - echo "logs datadb ..." - docker compose logs datadb + # echo "logs datadb ..." + # docker compose logs datadb - echo "logs promptflow ..." - docker logs promptflow + # echo "logs promptflow ..." + # docker logs promptflow - echo "logs chat ..." - docker compose logs chat + # echo "logs chat ..." + # docker compose logs chat - echo "logs server ..." - docker compose logs server + # echo "logs server ..." + # docker compose logs server - - name: Show results - run: | - docker exec promptflow pf run show-details -n base_run - echo "Getting metrics ..." - docker exec promptflow pf run show-metrics -n base_run - ##docker exec promptflow pf run visualize -n base_run - echo "Checking results ..." - docker exec promptflow python3 check_evaluation_results.py + # - name: Show results + # run: | + # docker exec promptflow pf run show-details -n base_run + # echo "Getting metrics ..." + # docker exec promptflow pf run show-metrics -n base_run + # ##docker exec promptflow pf run visualize -n base_run + # echo "Checking results ..." + # docker exec promptflow python3 check_evaluation_results.py \ No newline at end of file