diff --git a/.circleci/config.yml b/.circleci/config.yml index 014566bbcc..17a5d80f60 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -84,7 +84,7 @@ jobs: key: v0.3-{{ checksum "setup.py" }} paths: - '~/.cache/pip' - - run: python -m pytest -n 8 --dist=loadfile -rA -s ./tests/ --cov | tee output.txt + - run: python -m pytest -n 8 --dist=loadfile -rA -s ./tests/ --cov --durations=0 | tee output.txt - run: codecov - store_artifacts: path: ~/transformers/output.txt diff --git a/.github/workflows/self-scheduled.yml b/.github/workflows/self-scheduled.yml index dff1b5b667..3d94a77cac 100644 --- a/.github/workflows/self-scheduled.yml +++ b/.github/workflows/self-scheduled.yml @@ -59,7 +59,7 @@ jobs: RUN_SLOW: yes run: | source .env/bin/activate - python -m pytest -n 1 --dist=loadfile -s ./tests/ + python -m pytest -n 1 --dist=loadfile -s ./tests/ --durations=0 - name: Run examples tests on GPU env: @@ -69,7 +69,7 @@ jobs: run: | source .env/bin/activate pip install -r examples/requirements.txt - python -m pytest -n 1 --dist=loadfile -s examples + python -m pytest -n 1 --dist=loadfile -s examples --durations=0 run_all_tests_torch_and_tf_multiple_gpu: runs-on: [self-hosted, multi-gpu] @@ -120,7 +120,7 @@ jobs: RUN_SLOW: yes run: | source .env/bin/activate - python -m pytest -n 1 --dist=loadfile -s ./tests/ + python -m pytest -n 1 --dist=loadfile -s ./tests/ --durations=0 - name: Run examples tests on GPU env: @@ -130,4 +130,4 @@ jobs: run: | source .env/bin/activate pip install -r examples/requirements.txt - python -m pytest -n 1 --dist=loadfile -s examples + python -m pytest -n 1 --dist=loadfile -s examples --durations=0