@@ -135,17 +135,30 @@ jobs:
135
135
strategy :
136
136
matrix :
137
137
os : [windows-latest]
138
- floatx : [float64]
138
+ floatx : [float32, float64]
139
139
test-subset :
140
- - pymc3/tests/test_distributions_random.py
141
- - pymc3/tests/test_sampling.py
140
+ - |
141
+ pymc3/tests/test_distributions_random.py
142
+ - |
143
+ pymc3/tests/test_sampling.py
144
+ pymc3/tests/test_shared.py
145
+ - |
146
+ pymc3/tests/test_gp.py
147
+ pymc3/tests/test_ode.py
148
+ - |
149
+ pymc3/tests/test_model.py
150
+ pymc3/tests/test_model_func.py
151
+ pymc3/tests/test_modelcontext.py
152
+ pymc3/tests/test_pickling.py
153
+
154
+ fail-fast : false
142
155
runs-on : ${{ matrix.os }}
143
156
env :
144
157
TEST_SUBSET : ${{ matrix.test-subset }}
145
158
AESARA_FLAGS : floatX=${{ matrix.floatx }},gcc__cxxflags='-march=core2'
146
159
defaults :
147
160
run :
148
- shell : bash -l {0}
161
+ shell : cmd
149
162
steps :
150
163
- uses : actions/checkout@v2
151
164
- name : Cache conda
@@ -180,6 +193,9 @@ jobs:
180
193
conda activate pymc3-dev-py38
181
194
pip install -e .
182
195
python --version
183
- - run : |
184
- conda activate pymc3-dev-py38
185
- python -m pytest -vv --cov=pymc3 --cov-report=xml --cov-report term --durations=50 $TEST_SUBSET
196
+ - name : Run tests
197
+ # This job uses a cmd shell, therefore the environment variable syntax is different!
198
+ # The ">-" in the next line replaces newlines with spaces (see https://stackoverflow.com/a/66809682).
199
+ run : >-
200
+ conda activate pymc3-dev-py38 &&
201
+ python -m pytest -vv --cov=pymc3 --cov-report=xml --cov-report term --durations=50 %TEST_SUBSET%
0 commit comments