Skip to content

Commit

Permalink
Merge pull request #122 from ucan-lab/topic-121
Browse files Browse the repository at this point in the history
GitHub Actions PHP8 testing
  • Loading branch information
ucan-lab authored Jan 19, 2021
2 parents 0d30a26 + a09f760 commit fa1df58
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/dacapo-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,21 @@ on: [pull_request]

jobs:
dacapo-testing:
runs-on: ubuntu-latest
name: Laravel Dacapo (PHP ${{ matrix.php-versions }} on ${{ matrix.operating-system }})
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.0', '7.4']

steps:
- uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: ${{ matrix.php-versions }}

- name: Version
run: |
Expand All @@ -21,7 +28,7 @@ jobs:
- name: Install Dependencies
run: |
composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --prefer-dist
- name: Execute tests via PHPUnit
run: |
Expand Down
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@
"migration"
],
"require": {
"php": "~7.4",
"php": "^7.4|^8.0",
"laravel/framework": ">=6",
"symfony/yaml": "^4.3",
"zendframework/zend-code": "^3.4"
"symfony/yaml": "^5.2"
},
"require-dev": {
"phpunit/phpunit": "^8.3",
Expand Down

0 comments on commit fa1df58

Please sign in to comment.