File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,20 @@ jobs:
101
101
mkdir -p $GITHUB_WORKSPACE/channel/linux-64
102
102
mv ${PACKAGE_NAME}-*.conda $GITHUB_WORKSPACE/channel/linux-64
103
103
conda index $GITHUB_WORKSPACE/channel
104
- # Test channel
105
- conda search $PACKAGE_NAME -c $GITHUB_WORKSPACE/channel --override-channels
104
+
105
+ - name : Dump mkl_fft version info from created channel into ver.json
106
+ run : |
107
+ conda search $PACKAGE_NAME -c $GITHUB_WORKSPACE/channel --override-channels --info --json > $GITHUB_WORKSPACE\ver.json
108
+
109
+ - name : Test conda channel
110
+ run : |
111
+ conda search $PACKAGE_NAME -c $GITHUB_WORKSPACE/channel --override-channels --info --json > $GITHUB_WORKSPACE\ver.json
112
+ cat $GITHUB_WORKSPACE\ver.json
113
+
114
+ - name : Get package version
115
+ run : |
116
+ export PACKAGE_VERSION=$(python -c "${{ env.VER_SCRIPT1 }} ${{ env.VER_SCRIPT2 }}")
117
+ echo PACKAGE_VERSION=${PACKAGE_VERSION}
106
118
107
119
- name : Collect dependencies
108
120
run : |
@@ -132,7 +144,7 @@ jobs:
132
144
run : |
133
145
CHANNELS="-c $GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}"
134
146
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
147
+ conda install -n ${{ env.TEST_ENV_NAME }} $PACKAGE_NAME=$PACKAGE_VERSION pytest $CHANNELS
136
148
# Test installed packages
137
149
conda list -n ${{ env.TEST_ENV_NAME }}
138
150
You can’t perform that action at this time.
0 commit comments