composer(deps): update zbateson/mail-mime-parser requirement from ^1.2 to ^3.0 #66
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.sha }}-tests | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: ['7.4', '8.0', '8.1', '8.2', '8.3'] | |
codeception: ['^4.0', '^5.0'] | |
exclude: | |
# Codeception 5 requires PHP ≥ 8 | |
- php: '7.4' | |
codeception: '^5.0' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1.1 | |
- run: gem install mime-types --version "< 3" | |
- run: gem install --conservative mailcatcher | |
- run: mailcatcher | |
# Temporary workaround for https://github.com/sj26/mailcatcher/issues/182 | |
- run: mailcatcher -f > out.txt& | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
coverage: xdebug | |
ini-values: "sendmail_path = /usr/bin/env catchmail -f [email protected]" | |
php-version: ${{ matrix.php }} | |
- uses: ramsey/composer-install@v3 | |
with: | |
dependency-versions: highest | |
composer-options: "--with=codeception/codeception:${{ matrix.codeception }}" | |
- run: php vendor/bin/codecept build | |
- name: Acceptance tests | |
run: php vendor/bin/codecept run acceptance -d | |
- name: Unit tests | |
env: | |
XDEBUG_MODE: coverage | |
run: php vendor/bin/codecept run unit --coverage-xml -d |