[Web] Fix invalid encodings with json_encode, fixes #3847
This commit is contained in:
45
data/web/inc/lib/vendor/php-mime-mail-parser/php-mime-mail-parser/.github/workflows/main.yml
vendored
Normal file
45
data/web/inc/lib/vendor/php-mime-mail-parser/php-mime-mail-parser/.github/workflows/main.yml
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
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 }}
|
||||
|
Reference in New Issue
Block a user