[Web] Fix invalid encodings with json_encode, fixes #3847

master
andryyy 2020-11-09 14:43:15 +01:00
parent 6d56ef6435
commit f18b677c8c
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 0 additions and 45 deletions

View File

@ -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 }}