@@ -140,7 +140,7 @@ jobs:
140140 if [[ $FAST_COMPILE == "1" ]]; then export THEANO_FLAGS=$THEANO_FLAGS,mode=FAST_COMPILE; fi
141141 if [[ $FLOAT32 == "1" ]]; then export THEANO_FLAGS=$THEANO_FLAGS,floatX=float32; fi
142142 export THEANO_FLAGS=$THEANO_FLAGS,warn.ignore_bug_before=all,on_opt_error=raise,on_shape_error=raise,gcc.cxxflags=-pipe
143- python -m pytest -x -r A --verbose --runslow --cov=theano/ --cov-append --no-cov-on-fail $PART
143+ python -m pytest -x -r A --verbose --runslow --cov=theano/ --cov-report=xml --no-cov-on-fail $PART
144144 env :
145145 MKL_THREADING_LAYER : GNU
146146 MKL_NUM_THREADS : 1
@@ -149,33 +149,11 @@ jobs:
149149 FAST_COMPILE : ${{ matrix.fast-compile }}
150150 FLOAT32 : ${{ matrix.float32 }}
151151
152- - uses : actions/upload-artifact@v2
152+ - name : Upload coverage to Codecov
153+ uses : codecov/codecov-action@v1
153154 with :
154- name : ${{ steps.unique-id.outputs.id }}
155- path : .coverage
156-
157- coverage :
158- name : " Merge and upload coverage"
159- needs : test
160- runs-on : ubuntu-latest
161- if : ${{ needs.test.result == 'success' }}
162- steps :
163- - uses : actions/checkout@v2
164- with :
165- fetch-depth : 0
166- - name : Set up Python
167- uses : actions/setup-python@v1
168- with :
169- python-version : 3.7
170- - name : Download all artifacts
171- uses : actions/download-artifact@v2
172- - name : Merge and upload coverage
173- run : |
174- python -m pip install coveralls
175- find . -name \.coverage -exec coverage combine --append {} \;
176- coveralls
177- env :
178- GITHUB_TOKEN : ${{ secrets.github_token }}
155+ fail_ci_if_error : true
156+ name : " py${{ matrix.python-version }}: ${{ matrix.part }}"
179157
180158 combine :
181159 if : ${{ always() }}
0 commit comments