Skip to content

Commit ee2dac3

Browse files
matthias-goupilbotisSmile
authored andcommitted
feat: don't merge
1 parent 73633e8 commit ee2dac3

File tree

1 file changed

+41
-41
lines changed

1 file changed

+41
-41
lines changed

.github/workflows/tests.yml

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -98,49 +98,49 @@ jobs:
9898
run: |
9999
${{env.docker_compose_cmd}} exec -T php bin/console gally:index:clear --no-interaction
100100
${{env.docker_compose_cmd}} exec -T php bin/console hautelook:fixtures:load --no-interaction -vv
101-
- name: Coverage
102-
run: ${{env.docker_compose_cmd}} exec -e XDEBUG_MODE=coverage -T php bin/phpunit --coverage-clover=coverage/coverage.xml vendor/gally
101+
# - name: Coverage
102+
# run: ${{env.docker_compose_cmd}} exec -e XDEBUG_MODE=coverage -T php bin/phpunit --coverage-clover=coverage/coverage.xml vendor/gally
103103

104-
- name: Cleanup coverage file
105-
run: ${{env.docker_compose_cmd}} exec -T php sed -i 's:<file name="/srv/:<file name="/:' coverage/coverage.xml
104+
# - name: Cleanup coverage file
105+
# run: ${{env.docker_compose_cmd}} exec -T php sed -i 's:<file name="/srv/:<file name="/:' coverage/coverage.xml
106106

107-
- if: ${{ github.event_name == 'pull_request' }}
108-
name: Download artifact
109-
uses: dawidd6/action-download-artifact@v2.14.1
110-
continue-on-error: true
111-
id: base_coverage_report
112-
with:
113-
workflow: .github/workflows/ci.yml
114-
branch: ${{ github.base_ref }}
115-
name: coverage-report
116-
path: coverage/base # Retrieve previous coverage file at the root directory, not inside api/coverage
117-
118-
- name: Backend Coverage Report as Comment (Compared to a base)
119-
if: ${{ github.event_name == 'pull_request' && steps.base_coverage_report.outcome == 'success' }}
120-
uses: lucassabreu/comment-coverage-clover@main
121-
continue-on-error: true
122-
with:
123-
with-chart: false
124-
file: api/coverage/coverage.xml
125-
base-file: coverage/base/coverage.xml
126-
max-line-coverage-decrease: 10.0
127-
max-method-coverage-decrease: 10.0
128-
min-line-coverage: 75
129-
min-method-coverage: 75
130-
signature: "Backend Coverage compared to target branch"
131-
132-
- name: Backend Coverage Report as Comment (Clean)
133-
uses: lucassabreu/comment-coverage-clover@v0.3.0
134-
if: ${{ (github.event_name == 'pull_request' && steps.base_coverage_report.outcome != 'success') || github.event_name == 'push'}}
135-
with:
136-
with-chart: false
137-
file: api/coverage/coverage.xml
138-
signature: "Backend Coverage of this branch"
139-
140-
- uses: actions/upload-artifact@v4
141-
with:
142-
name: coverage-report
143-
path: api/coverage/coverage.xml
107+
# - if: ${{ github.event_name == 'pull_request' }}
108+
# name: Download artifact
109+
# uses: dawidd6/action-download-artifact@v2.14.1
110+
# continue-on-error: true
111+
# id: base_coverage_report
112+
# with:
113+
# workflow: .github/workflows/ci.yml
114+
# branch: ${{ github.base_ref }}
115+
# name: coverage-report
116+
# path: coverage/base # Retrieve previous coverage file at the root directory, not inside api/coverage
117+
#
118+
# - name: Backend Coverage Report as Comment (Compared to a base)
119+
# if: ${{ github.event_name == 'pull_request' && steps.base_coverage_report.outcome == 'success' }}
120+
# uses: lucassabreu/comment-coverage-clover@main
121+
# continue-on-error: true
122+
# with:
123+
# with-chart: false
124+
# file: api/coverage/coverage.xml
125+
# base-file: coverage/base/coverage.xml
126+
# max-line-coverage-decrease: 10.0
127+
# max-method-coverage-decrease: 10.0
128+
# min-line-coverage: 75
129+
# min-method-coverage: 75
130+
# signature: "Backend Coverage compared to target branch"
131+
#
132+
# - name: Backend Coverage Report as Comment (Clean)
133+
# uses: lucassabreu/comment-coverage-clover@v0.3.0
134+
# if: ${{ (github.event_name == 'pull_request' && steps.base_coverage_report.outcome != 'success') || github.event_name == 'push'}}
135+
# with:
136+
# with-chart: false
137+
# file: api/coverage/coverage.xml
138+
# signature: "Backend Coverage of this branch"
139+
#
140+
# - uses: actions/upload-artifact@v4
141+
# with:
142+
# name: coverage-report
143+
# path: api/coverage/coverage.xml
144144

145145
- name: Jest
146146
run: ${{env.docker_compose_cmd}} exec -T pwa yarn test:ci

0 commit comments

Comments
 (0)