File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -130,9 +130,19 @@ jobs:
130130
131131 - name : Install mkl_fft
132132 run : |
133+ echo "Listing workspace:"
134+ ls -la
135+ echo "Checking in env.workdir:"
136+ ls -la "$GITHUB_WORKSPACE/channel"
137+ if [ ! -f ver.json ]; then
138+ cp -f "$GITHUB_WORKSPACE/channel/ver.json" .
139+ fi
140+ SCRIPT="$VER_SCRIPT1 $VER_SCRIPT2"
141+ PACKAGE_VERSION=$(python -c "$SCRIPT")
142+ echo "PACKAGE_VERSION=$PACKAGE_VERSION"
133143 CHANNELS="-c $GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}"
134144 conda create -n ${{ env.TEST_ENV_NAME }} python=${{ matrix.python }} "scipy>=1.10" $CHANNELS
135- conda install -n ${{ env.TEST_ENV_NAME }} $PACKAGE_NAME pytest $CHANNELS
145+ conda install -n ${{ env.TEST_ENV_NAME }} $PACKAGE_NAME=$PACKAGE_VERSION pytest $CHANNELS
136146 # Test installed packages
137147 conda list -n ${{ env.TEST_ENV_NAME }}
138148
You can’t perform that action at this time.
0 commit comments