Skip to content

Commit 9e402d0

Browse files
committed
modify codecov in azure-pipelines.yml
1 parent c166f5d commit 9e402d0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

azure-pipelines.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
- task: PublishTestResults@2
6666
condition: succeededOrFailed()
6767
inputs:
68-
testResultsFiles: '**/test-*.xml'
68+
testResultsFiles: '**/coverage.xml'
6969
testRunTitle: 'Publish test results for Python $(python.version)'
7070

7171
- task: PublishCodeCoverageResults@1
@@ -78,7 +78,8 @@ jobs:
7878
if [ $PYTHON_VERSION == 3.7 ]; then
7979
source activate mpi4py_fft_env
8080
cd tests
81-
codecov -t $(CODECOV_TOKEN)
81+
curl -s -o codecov.sh https://codecov.io/bash
82+
bash codecov.sh -X gcov -X fix -t $(CODECOV_TOKEN)
8283
python-codacy-coverage -r coverage.xml -t $(CODACY_PROJECT_TOKEN)
8384
fi
8485
condition: succeeded()

0 commit comments

Comments
 (0)