[Web] Fix invalid encodings with json_encode, fixes #3847
parent
6d56ef6435
commit
f18b677c8c
|
@ -1,45 +0,0 @@
|
||||||
name: CI
|
|
||||||
|
|
||||||
on: [push]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
|
|
||||||
tests:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
php: [7.1, 7.2, 7.3]
|
|
||||||
composer: ["", "--prefer-lowest"]
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
- name: Change PHP version
|
|
||||||
run: sudo update-alternatives --set php /usr/bin/php${{ matrix.php }} && php -v
|
|
||||||
- name: Install mailparse
|
|
||||||
run: sudo apt install php-mailparse
|
|
||||||
- name: Composer update
|
|
||||||
run: composer update ${{ matrix.composer }} --no-progress
|
|
||||||
- name: PhpUnit
|
|
||||||
run: php -d xdebug.profiler_enable=off ./vendor/bin/phpunit
|
|
||||||
|
|
||||||
php-cs:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
- name: Composer update
|
|
||||||
run: composer update --no-progress --ignore-platform-reqs
|
|
||||||
- name: PHP CS
|
|
||||||
run: ./vendor/bin/phpcs src tests --standard=psr2
|
|
||||||
|
|
||||||
coverage:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
- name: Install mailparse
|
|
||||||
run: sudo apt install php-mailparse
|
|
||||||
- name: Composer update
|
|
||||||
run: composer update --no-progress
|
|
||||||
- name: Codecov
|
|
||||||
run: |
|
|
||||||
./vendor/bin/phpunit --coverage-clover=coverage.xml --whitelist src
|
|
||||||
bash <(curl -s https://codecov.io/bash) -t ${{ secrets.COVERALLS_REPO_TOKEN }}
|
|
||||||
|
|
Loading…
Reference in New Issue