Skip to content

Commit

Permalink
Debug session
Browse files Browse the repository at this point in the history
  • Loading branch information
dividor committed Jul 11, 2024
1 parent 29910fe commit a83dda8
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,40 +111,40 @@ jobs:
#
# ssh -i <YOUR GITHUB SSH KEY> <CONN STRING ON ACTIONS>
#
- 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

0 comments on commit a83dda8

Please sign in to comment.