diff --git a/.github/workflows/test_python.yml b/.github/workflows/test_python.yml index ba8858d6b9..1b1935a2f6 100644 --- a/.github/workflows/test_python.yml +++ b/.github/workflows/test_python.yml @@ -54,7 +54,7 @@ jobs: restore-keys: | test2-durations-combined-${{ matrix.python }}-${{ github.sha }} test2-durations-combined-${{ matrix.python }} - - run: pytest --cov=deepmd source/tests --durations=0 --splits 6 --group ${{ matrix.group }} --store-durations --durations-path=.test_durations --splitting-algorithm least_duration + - run: pytest --cov=deepmd source/tests --durations=0 --splits 6 --group ${{ matrix.group }} --store-durations --clean-durations --durations-path=.test_durations --splitting-algorithm least_duration env: NUM_WORKERS: 0 - name: Test TF2 eager mode diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 721a0cd6eb..ae1a0c186f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: exclude: ^source/3rdparty - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.7.2 + rev: v0.7.3 hooks: - id: ruff args: ["--fix"]