File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -57,16 +57,16 @@ jobs:
57
57
- name : Test with pytest skipping openai tests
58
58
if : matrix.python-version != '3.10' && matrix.os == 'ubuntu-latest'
59
59
run : |
60
- pytest test --skip-openai
60
+ pytest test --skip-openai --durations=10 --durations-min=1.0
61
61
- name : Test with pytest skipping openai and docker tests
62
62
if : matrix.python-version != '3.10' && matrix.os != 'ubuntu-latest'
63
63
run : |
64
- pytest test --skip-openai --skip-docker
64
+ pytest test --skip-openai --skip-docker --durations=10 --durations-min=1.0
65
65
- name : Coverage
66
66
if : matrix.python-version == '3.10'
67
67
run : |
68
68
pip install -e .[test,redis]
69
- coverage run -a -m pytest test --ignore=test/agentchat/contrib --skip-openai
69
+ coverage run -a -m pytest test --ignore=test/agentchat/contrib --skip-openai --durations=10 --durations-min=1.0
70
70
coverage xml
71
71
- name : Upload coverage to Codecov
72
72
if : matrix.python-version == '3.10'
Original file line number Diff line number Diff line change 63
63
AZURE_OPENAI_API_BASE : ${{ secrets.AZURE_OPENAI_API_BASE }}
64
64
OAI_CONFIG_LIST : ${{ secrets.OAI_CONFIG_LIST }}
65
65
run : |
66
- coverage run -a -m pytest test --ignore=test/agentchat/contrib
66
+ coverage run -a -m pytest test --ignore=test/agentchat/contrib --durations=10 --durations-min=1.0
67
67
coverage xml
68
68
- name : Coverage and check notebook outputs
69
69
if : matrix.python-version != '3.9'
75
75
OAI_CONFIG_LIST : ${{ secrets.OAI_CONFIG_LIST }}
76
76
run : |
77
77
pip install nbconvert nbformat ipykernel
78
- coverage run -a -m pytest test/test_notebook.py
78
+ coverage run -a -m pytest test/test_notebook.py --durations=10 --durations-min=1.0
79
79
coverage xml
80
80
cat "$(pwd)/test/executed_openai_notebook_output.txt"
81
81
- name : Upload coverage to Codecov
You can’t perform that action at this time.
0 commit comments