Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rennokki authored Nov 20, 2020
1 parent 2833d75 commit 777ca11
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,16 @@ jobs:

strategy:
matrix:
php: ['7.2', '7.3', '7.4']
laravel: ['7.*', '8.*']
prefer: ['prefer-lowest', 'prefer-stable']
php:
- '7.3'
- '7.4'
- '8.0'
laravel:
- 7.*
- 8.*
prefer:
- 'prefer-lowest'
- 'prefer-stable'
include:
- laravel: '7.*'
testbench: '5.*'
Expand All @@ -32,6 +39,13 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv
coverage: pcov

- uses: actions/cache@v1
name: Cache dependencies
with:
Expand All @@ -46,7 +60,7 @@ jobs:
- name: Run tests
run: |
phpunit --coverage-text --coverage-clover=coverage.xml
vendor/bin/phpunit --coverage-text --coverage-clover=coverage.xml
env:
STRIPE_SECRET: ${{ secrets.STRIPE_SECRET }}
PADDLE_VENDOR_ID: ${{ secrets.PADDLE_VENDOR_ID }}
Expand Down

0 comments on commit 777ca11

Please sign in to comment.