Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eXorus committed Aug 18, 2019
1 parent d42afd1 commit ee81e89
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/main.yml
Expand Up @@ -3,7 +3,24 @@ 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: ./vendor/bin/phpunit

php-cs:
runs-on: ubuntu-latest
steps:
Expand All @@ -30,20 +47,3 @@ jobs:
COVERALLS_REPO_TOKEN: BS4E6dtQa8fUMHQiOTFbQICA6ydxSqkRt
run: ./vendor/bin/php-coveralls -v

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: ./vendor/bin/phpunit

0 comments on commit ee81e89

Please sign in to comment.