From fd4cdbb7fce5181bc7927b34731ef16ae0ebcb94 Mon Sep 17 00:00:00 2001 From: Philipp Niedermayer Date: Fri, 24 Jan 2025 16:23:55 +0100 Subject: [PATCH] Skip versioning test --- .github/workflows/test.yaml | 44 ++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 34617cb..b03f3e1 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -55,25 +55,25 @@ jobs: with: extra_args: --all-files --hook-stage=manual - versioning: - if: ${{ github.ref_type == 'branch' && github.ref_name != 'main'}} - runs-on: ubuntu-24.04 - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - uses: actions/setup-python@v5 - with: - python-version: '3.12' - - run: | - # Determine version - pip install -e . - VERSION=$(python3 -c "from xplt import __version__;print('v' + __version__)") - echo "Xplt version: $VERSION" - # Ensure it is unique - TAG=$(git tag -l $VERSION) - echo "Matching git tag: $TAG" - if [[ $TAG ]]; then - echo "Version is not unique. Please update it in 'xplt/__init__.py'" - exit 1 - fi +# versioning: +# if: ${{ github.ref_type == 'branch' && github.ref_name != 'main'}} +# runs-on: ubuntu-24.04 +# steps: +# - uses: actions/checkout@v4 +# with: +# fetch-depth: 0 +# - uses: actions/setup-python@v5 +# with: +# python-version: '3.12' +# - run: | +# # Determine version +# pip install -e . +# VERSION=$(python3 -c "from xplt import __version__;print('v' + __version__)") +# echo "Xplt version: $VERSION" +# # Ensure it is unique +# TAG=$(git tag -l $VERSION) +# echo "Matching git tag: $TAG" +# if [[ $TAG ]]; then +# echo "Version is not unique. Please update it in 'xplt/__init__.py'" +# exit 1 +# fi