File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 16
16
python-version : [3.6, 3.7, 3.8]
17
17
steps :
18
18
- uses : actions/checkout@v2
19
+ with :
20
+ fetch-depth : 0
19
21
- name : Set up Python ${{ matrix.python-version }}
20
22
uses : actions/setup-python@v2
21
23
with :
36
38
file : ./tests/reports/coverage.xml
37
39
fail_ci_if_error : true
38
40
verbose : true
41
+ - name : Fix coverage report for Sonar
42
+ run : |
43
+ sed -i 's/\/home\/runner\/work\/django-rql\/django-rql\//\/github\/workspace\//g' ./tests/reports/coverage.xml
39
44
- name : SonarCloud
40
45
uses : SonarSource/sonarcloud-github-action@master
41
46
env :
Original file line number Diff line number Diff line change 13
13
python-version : [3.6, 3.7, 3.8]
14
14
steps :
15
15
- uses : actions/checkout@v2
16
+ with :
17
+ fetch-depth : 0
16
18
- name : Set up Python ${{ matrix.python-version }}
17
19
uses : actions/setup-python@v2
18
20
with :
34
36
file : ./tests/reports/coverage.xml
35
37
fail_ci_if_error : true
36
38
verbose : true
39
+ - name : Fix coverage report for Sonar
40
+ run : |
41
+ sed -i 's/\/home\/runner\/work\/django-rql\/django-rql\//\/github\/workspace\//g' ./tests/reports/coverage.xml
37
42
- name : SonarCloud
38
43
uses : SonarSource/sonarcloud-github-action@master
39
44
env :
You can’t perform that action at this time.
0 commit comments