@@ -135,6 +135,29 @@ jobs:
135
135
# keep versions consistent with the first and last from the strategy matrix
136
136
if : ${{ (contains(fromJSON('["3.9"]'), matrix.python) || contains(fromJSON('["3.13"]'), matrix.python)) && steps.secret-check.outputs.secrets_available == 'true'}}
137
137
run : |
138
+ # Set SYNAPSE_PROFILE based on OS and Python version
139
+ if [ "${{ startsWith(matrix.os, 'ubuntu') }}" == "true" ]; then
140
+ if [ "${{ matrix.python }}" == "3.9" ]; then
141
+ export SYNAPSE_PROFILE="TestUbuntuMinimumPython"
142
+ elif [ "${{ matrix.python }}" == "3.13" ]; then
143
+ export SYNAPSE_PROFILE="TestUbuntuMaximumPython"
144
+ fi
145
+ elif [ "${{ startsWith(matrix.os, 'windows') }}" == "true" ]; then
146
+ if [ "${{ matrix.python }}" == "3.9" ]; then
147
+ export SYNAPSE_PROFILE="TestWindowsMinimumPython"
148
+ elif [ "${{ matrix.python }}" == "3.13" ]; then
149
+ export SYNAPSE_PROFILE="TestWindowsMaximumPython"
150
+ fi
151
+ elif [ "${{ startsWith(matrix.os, 'macos') }}" == "true" ]; then
152
+ if [ "${{ matrix.python }}" == "3.9" ]; then
153
+ export SYNAPSE_PROFILE="TestMacosMinimumPython"
154
+ elif [ "${{ matrix.python }}" == "3.13" ]; then
155
+ export SYNAPSE_PROFILE="TestMacosMaximumPython"
156
+ fi
157
+ fi
158
+
159
+ echo "Using SYNAPSE_PROFILE: $SYNAPSE_PROFILE"
160
+
138
161
# decrypt the encrypted test synapse configuration
139
162
openssl aes-256-cbc -K ${{ secrets.encrypted_d17283647768_key }} -iv ${{ secrets.encrypted_d17283647768_iv }} -in test.synapseConfig.enc -out test.synapseConfig -d
140
163
mv test.synapseConfig ~/.synapseConfig
0 commit comments