Update README.md #91
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: CI | |
on: | |
push: | |
jobs: | |
Tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: [ '7.2', '7.3', '7.4', '8', '8.1', '8.2', '8.3'] | |
steps: | |
- name: "Init repository" | |
uses: actions/checkout@v3 | |
- name: "Setup PHP" | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: imap | |
tools: composer | |
- name: "Install dependencies" | |
run: composer install | |
- name: "Tests" | |
run: php vendor/bin/phpunit tests --whitelist src --coverage-clover ./build/logs/clover.xml | |
- name: "Coveralls" | |
run: php vendor/bin/php-coveralls -v | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} |