Skip to content

Commit

Permalink
Merge pull request #4 from worksome/l10
Browse files Browse the repository at this point in the history
chore(deps): Laravel 10 support
  • Loading branch information
lukeraymonddowning authored Feb 1, 2023
2 parents 17eefac + e7ed030 commit 44755ed
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 31 deletions.
61 changes: 32 additions & 29 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,32 @@
name: Tests

on:
push:

jobs:
setup:
runs-on: ubuntu-latest
name: Pest on PHP ${{ matrix.php }}
strategy:
matrix:
php: ['8.2']

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
extensions: oauth
coverage: none
php-version: ${{ matrix.php }}

- name: Install Composer dependencies
uses: ramsey/composer-install@v1

- name: Test php code
run: composer test:unit
name: Tests

on:
push:

jobs:
setup:
runs-on: ubuntu-latest
name: Pest on PHP ${{ matrix.php }} - Testbench ${{ matrix.testbench }}
strategy:
matrix:
php: ['8.2']
testbench: [7.*, 8.*]

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
extensions: oauth
coverage: none
php-version: ${{ matrix.php }}

- name: Install Composer dependencies
run: |
composer require "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --prefer-dist --no-interaction
- name: Test php code
run: composer test:unit
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"azuyalabs/yasumi": "^2.5"
},
"require-dev": {
"orchestra/testbench": "^7.18",
"orchestra/testbench": "^7.18|^8.0",
"pestphp/pest": "^1.22.3",
"pestphp/pest-plugin-parallel": "^1.2",
"worksome/coding-style": "^2.3"
Expand Down Expand Up @@ -50,5 +50,7 @@
"Worksome\\UkTaxAllowance\\UkTaxAllowanceServiceProvider"
]
}
}
},
"minimum-stability": "dev",
"prefer-stable": true
}

0 comments on commit 44755ed

Please sign in to comment.