@@ -134,10 +134,6 @@ jobs:
134
134
composer remove --dev --no-interaction --no-progress --no-update --ansi \
135
135
doctrine/mongodb-odm \
136
136
doctrine/mongodb-odm-bundle \
137
- - name : Set Composer platform config
138
- if : (startsWith(matrix.php, '8.0'))
139
- run : |
140
- composer config platform.php 7.4.99
141
137
- name : Update project dependencies
142
138
run : composer update --no-interaction --no-progress --ansi
143
139
- name : Require Symfony components
@@ -146,11 +142,7 @@ jobs:
146
142
- name : Install PHPUnit
147
143
run : vendor/bin/simple-phpunit --version
148
144
- name : Clear test app cache
149
- if : (!startsWith(matrix.php, '8.0'))
150
145
run : tests/Fixtures/app/console cache:clear --ansi
151
- - name : Clear test app cache (php 8.0)
152
- if : (startsWith(matrix.php, '8.0'))
153
- run : rm -Rf tests/Fixtures/app/var/cache/*
154
146
- name : Run PHPUnit tests
155
147
run : |
156
148
mkdir -p build/logs/phpunit
@@ -159,30 +151,30 @@ jobs:
159
151
else
160
152
vendor/bin/simple-phpunit --log-junit build/logs/phpunit/junit.xml
161
153
fi
162
- - name : Upload test artifacts
163
- if : always()
164
- uses : actions/upload-artifact@v1
165
- with :
166
- name : phpunit-logs-php${{ matrix.php }}
167
- path : build/logs/phpunit
168
- continue-on-error : true
169
- - name : Upload coverage results to Codecov
170
- if : matrix.coverage
171
- uses : codecov/codecov-action@v1
172
- with :
173
- name : phpunit-php${{ matrix.php }}
174
- flags : phpunit
175
- fail_ci_if_error : true
176
- continue-on-error : true
177
- - name : Upload coverage results to Coveralls
178
- if : matrix.coverage
179
- env :
180
- COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
181
- run : |
182
- composer global require --prefer-dist --no-interaction --no-progress --ansi cedx/coveralls
183
- export PATH="$PATH:$HOME/.composer/vendor/bin"
184
- coveralls build/logs/phpunit/clover.xml
185
- continue-on-error : true
154
+ # - name: Upload test artifacts
155
+ # if: always()
156
+ # uses: actions/upload-artifact@v1
157
+ # with:
158
+ # name: phpunit-logs-php${{ matrix.php }}
159
+ # path: build/logs/phpunit
160
+ # continue-on-error: true
161
+ # - name: Upload coverage results to Codecov
162
+ # if: matrix.coverage
163
+ # uses: codecov/codecov-action@v1
164
+ # with:
165
+ # name: phpunit-php${{ matrix.php }}
166
+ # flags: phpunit
167
+ # fail_ci_if_error: true
168
+ # continue-on-error: true
169
+ # - name: Upload coverage results to Coveralls
170
+ # if: matrix.coverage
171
+ # env:
172
+ # COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
173
+ # run: |
174
+ # composer global require --prefer-dist --no-interaction --no-progress --ansi cedx/coveralls
175
+ # export PATH="$PATH:$HOME/.composer/vendor/bin"
176
+ # coveralls build/logs/phpunit/clover.xml
177
+ # continue-on-error: true
186
178
187
179
behat :
188
180
name : Behat (PHP ${{ matrix.php }})
0 commit comments