Skip to content

Commit b30db2b

Browse files
committed
Trying to fix upload to codecov
1 parent c411986 commit b30db2b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎azure-pipelines.yml

+7
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,16 @@ jobs:
6464
cd tests && ./runtests.sh
6565
displayName: Build and test
6666
67+
- task: PublishCodeCoverageResults@1
68+
inputs:
69+
codeCoverageTool: Cobertura
70+
summaryFileLocation: '$(System.DefaultWorkingDirectory)/**/coverage.xml'
71+
reportDirectory: '$(System.DefaultWorkingDirectory)/**/htmlcov'
72+
6773
- bash: |
6874
if [ $PYTHON_VERSION == 3.8 ]; then
6975
source activate mpi4py_fft_env
76+
pip install codecov
7077
cd tests
7178
curl -Os https://uploader.codecov.io/latest/linux/codecov
7279
chmod +x codecov

0 commit comments

Comments
 (0)