File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -64,13 +64,20 @@ 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.7 ]; then
6975 source activate mpi4py_fft_env
7076 cd tests
71- curl -s -o codecov.sh https://codecov.io/bash
72- bash codecov.sh -X gcov -X fix -t $(CODECOV_TOKEN)
77+ codecov -t $(CODECOV_TOKEN)
78+ #curl -s -o codecov.sh https://codecov.io/bash
79+ #bash codecov.sh -X gcov -X fix -t $(CODECOV_TOKEN)
7380 python-codacy-coverage -r coverage.xml -t $(CODACY_PROJECT_TOKEN)
7481 fi
75- condition: succeeded()
76- displayName: Upload to Codecov
82+ condition: and( succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master') )
83+ displayName: Upload to Codecov
You can’t perform that action at this time.
0 commit comments