From 6462e55351eaa0a932f2b92120e192b0b305930f Mon Sep 17 00:00:00 2001 From: "Adam J. Jackson" Date: Mon, 10 Feb 2025 15:44:09 +0000 Subject: [PATCH] release.py expects Euphonic to be installed already This seems like overkill, we have already been quite careful to create consistent version information. But it wouldn't hurt to have these checks running for an automated release cycle before we consider pruning them. --- .github/workflows/release.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d22dde268..c8ae7d56d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,7 +53,16 @@ jobs: ref: ${{ inputs.ref }} fetch-depth: 1 - - name: + - uses: actions/setup-python@v5 + with: + python-version: "3.10" + + - name: Basic installation to check euphonic.__version__ + shell: bash -l {0} + run: | + python -m pip install . + + - name: Check version consistency, generate Github release page run : | python build_utils/release.py --github ${{ inputs.push && '--notest' || '' }}