From 6cc3373e11f7643e0dd484942dea0d2d461aa45a Mon Sep 17 00:00:00 2001 From: DimasfromLavoisier Date: Tue, 30 Apr 2024 14:08:26 +0200 Subject: [PATCH] try fetch-depth --- .github/workflows/ci.yml | 9 ++------- pyproject.toml | 1 - 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f985c7ea7..c9518cd7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,12 +34,8 @@ jobs: steps: - uses: actions/checkout@v4 - - # - name: Install Git - # if: runner.os == 'macOS' - # run: | - # brew update - # brew install git + with: + fetch-depth: 0 - name: Create Helios dev environment uses: conda-incubator/setup-miniconda@v2 @@ -53,7 +49,6 @@ jobs: - name: Install Helios run: | - echo "export SETUPTOOLS_SCM_SUBPROCESS_TIMEOUT=100" >> $GITHUB_ENV python -m pip install -v . - name: Run tests diff --git a/pyproject.toml b/pyproject.toml index 104fc0b7c..f3ba82083 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,6 @@ HELIOS_BUDDING_METRICS = "0" CMAKE_INSTALL_RPATH_USE_LINK_PATH = "ON" [tool.setuptools_scm] # Section required - write_to = "python/pyhelios/_version.py" [tool.pytest.ini_options]