Skip to content

Commit 52b4a20

Browse files
committed
Skip versioning test
1 parent a2a2e86 commit 52b4a20

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

.github/workflows/test.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -55,25 +55,25 @@ jobs:
5555
with:
5656
extra_args: --all-files --hook-stage=manual
5757

58-
versioning:
59-
if: ${{ github.ref_type == 'branch' && github.ref_name != 'main'}}
60-
runs-on: ubuntu-24.04
61-
steps:
62-
- uses: actions/checkout@v4
63-
with:
64-
fetch-depth: 0
65-
- uses: actions/setup-python@v5
66-
with:
67-
python-version: '3.12'
68-
- run: |
69-
# Determine version
70-
pip install -e .
71-
VERSION=$(python3 -c "from xplt import __version__;print('v' + __version__)")
72-
echo "Xplt version: $VERSION"
73-
# Ensure it is unique
74-
TAG=$(git tag -l $VERSION)
75-
echo "Matching git tag: $TAG"
76-
if [[ $TAG ]]; then
77-
echo "Version is not unique. Please update it in 'xplt/__init__.py'"
78-
exit 1
79-
fi
58+
# versioning:
59+
# if: ${{ github.ref_type == 'branch' && github.ref_name != 'main'}}
60+
# runs-on: ubuntu-24.04
61+
# steps:
62+
# - uses: actions/checkout@v4
63+
# with:
64+
# fetch-depth: 0
65+
# - uses: actions/setup-python@v5
66+
# with:
67+
# python-version: '3.12'
68+
# - run: |
69+
# # Determine version
70+
# pip install -e .
71+
# VERSION=$(python3 -c "from xplt import __version__;print('v' + __version__)")
72+
# echo "Xplt version: $VERSION"
73+
# # Ensure it is unique
74+
# TAG=$(git tag -l $VERSION)
75+
# echo "Matching git tag: $TAG"
76+
# if [[ $TAG ]]; then
77+
# echo "Version is not unique. Please update it in 'xplt/__init__.py'"
78+
# exit 1
79+
# fi

0 commit comments

Comments
 (0)