Skip to content

Commit

Permalink
add test timing (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
lwj-st authored Oct 29, 2024
1 parent 86078d0 commit c9d7b3d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
export PYTHONPATH=$PWD:$PYTHONPATH
export LAZYLLM_DATA_PATH=/mnt/lustre/share_data/lazyllm/data/
export LAZYLLM_MODEL_PATH=/mnt/lustre/share_data/lazyllm/models
python -m pytest --lf --last-failed-no-failures=all --reruns=2 -v tests/basic_tests/
python -m pytest --lf --last-failed-no-failures=all --durations=0 --reruns=2 -v tests/basic_tests/
AdvancedStandardTests:
runs-on: tps_sco_nv
Expand All @@ -86,7 +86,7 @@ jobs:
export LAZYLLM_DATA_PATH=/mnt/lustre/share_data/lazyllm/data/
export LAZYLLM_MODEL_PATH=/mnt/lustre/share_data/lazyllm/models
source ~/ENV/env.sh
python -m pytest --lf --last-failed-no-failures=all --reruns=2 -v tests/advanced_tests/standard_test/
python -m pytest --lf --last-failed-no-failures=all --durations=0 --reruns=2 -v tests/advanced_tests/standard_test/
AdvancedFullTests:
runs-on: tps_sco_nv
Expand All @@ -101,7 +101,7 @@ jobs:
export PYTHONPATH=$PWD:$PYTHONPATH
export LAZYLLM_DATA_PATH=/mnt/lustre/share_data/lazyllm/data/
export LAZYLLM_MODEL_PATH=/mnt/lustre/share_data/lazyllm/models
python -m pytest --lf --last-failed-no-failures=all --reruns=2 -v tests/advanced_tests/full_test/
python -m pytest --lf --last-failed-no-failures=all --durations=0 --reruns=2 -v tests/advanced_tests/full_test/
ChargeTests:
runs-on: tps_sco_nv
Expand All @@ -115,4 +115,4 @@ jobs:
export LAZYLLM_DATA_PATH=/mnt/lustre/share_data/lazyllm/data/
export LAZYLLM_MODEL_PATH=/mnt/lustre/share_data/lazyllm/models
source ~/ENV/env.sh
python -m pytest --lf --last-failed-no-failures=all --reruns=2 -v tests/charge_tests
python -m pytest --lf --last-failed-no-failures=all --durations=0 --reruns=2 -v tests/charge_tests

0 comments on commit c9d7b3d

Please sign in to comment.