Unverified Commit 98b043a9 authored by René Fritze's avatar René Fritze
Browse files

[ci] osx try to fix coverage upload

parent c15e55a1
Pipeline #69558 passed with stages
in 27 minutes and 9 seconds
......@@ -34,7 +34,7 @@ jobs:
conda update -y --all
conda install -y --only-deps pymor
# these ones are not in the 2020.1 conda build yet
conda install -y pyevtk mpi4py slycot pytorch pyqt
conda install -y pyevtk mpi4py slycot pytorch pyqt codecov
# these are buildtime, not a runtime, deps for our conda package
conda install -y cython pytest-cov pytest
# install anything which might be a new dependency with pip
......@@ -52,12 +52,12 @@ jobs:
export PYTHONPATH=${PWD}/src:${PYTHONPATH}
python setup.py build_ext -i
export QT_PREFERRED_BINDING=PySide2: QT_DEBUG_PLUGINS=1
py.test -sv --hypothesis-profile ${PYMOR_HYPOTHESIS_PROFILE}
py.test -sv --cov-context=test --cov=src/pymor --hypothesis-profile ${PYMOR_HYPOTHESIS_PROFILE}
coverage xml
displayName: py.test
- script: |
bash <(curl -s https://codecov.io/bash)
codecov --file coverage.xml
displayName: 'Upload to codecov.io'
- publish: src/pymortests/testdata/check_results/
artifact: changed_results_$(CONFIG)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment