We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 384fcb6 commit 12a4f3dCopy full SHA for 12a4f3d
.github/workflows/conda-package.yml
@@ -130,9 +130,14 @@ jobs:
130
131
- name: Install mkl_fft
132
run: |
133
+ if [ ! -f ver.json ]; then
134
+ cp -f "$GITHUB_WORKSPACE/ver.json" .
135
+ fi
136
+ SCRIPT="$VER_SCRIPT1 $VER_SCRIPT2"
137
+ PACKAGE_VERSION=$(python -c "$SCRIPT")
138
CHANNELS="-c $GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}"
139
conda create -n ${{ env.TEST_ENV_NAME }} python=${{ matrix.python }} "scipy>=1.10" $CHANNELS
- conda install -n ${{ env.TEST_ENV_NAME }} $PACKAGE_NAME pytest $CHANNELS
140
+ conda install -n ${{ env.TEST_ENV_NAME }} $PACKAGE_NAME=$PACKAGE_VERSION pytest $CHANNELS
141
# Test installed packages
142
conda list -n ${{ env.TEST_ENV_NAME }}
143
0 commit comments