diff --git a/.github/workflows/nightly_benchmarks.yaml b/.github/workflows/nightly_benchmarks.yaml index 258c434a827..4a27f60ec31 100644 --- a/.github/workflows/nightly_benchmarks.yaml +++ b/.github/workflows/nightly_benchmarks.yaml @@ -28,7 +28,7 @@ on: # Allow manual triggering of the workflow pull_request: - types: [ labeled ] + types: [labeled, synchronize] # Bash shells do not use ~/.profile or ~/.bashrc so these shells need to be explicitly # declared as "shell: bash -el {0}" on steps that need to be properly activated. @@ -115,7 +115,8 @@ jobs: env: PIP_EXTRA_INDEX_URL: https://mirrors.huaweicloud.com/ascend/repos/pypi run: | - pip install -e . + pip install -r requirements-dev.txt + pip install -v -e . pip install -r benchmarks/requirements-bench.txt - name: Run current commit benchmarks diff --git a/pyproject.toml b/pyproject.toml index 7f90b1edb4e..ac790b092c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,9 @@ requires = [ ] build-backend = "setuptools.build_meta" +[tool.setuptools_scm] +# no extra settings needed, presence enables setuptools-scm + [tool.pymarkdown] plugins.md004.style = "sublist" # ul-style plugins.md007.indent = 4 # ul-indent