feat: 增加支付宝 分账关系维护/分账查询 插件 (#874) #345
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: Tester | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
PHPUnit: | |
name: ${{ matrix.os }}-php${{ matrix.php-version }}-${{ matrix.framework }} | |
runs-on: "${{ matrix.os }}" | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [ ubuntu-latest ] | |
framework: | |
- default | |
- laravel | |
- hyperf | |
php-version: | |
- 8.0 | |
- 8.1 | |
- 8.2 | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
extensions: openssl | |
coverage: none | |
- name: Laravel Framework | |
if: matrix.framework == 'laravel' | |
run: composer require illuminate/container:^8.0 | |
- name: Hyperf Framework | |
if: matrix.framework == 'hyperf' | |
run: composer require hyperf/utils hyperf/pimple | |
- name: Other/No Framework | |
if: matrix.framework == 'default' | |
run: composer require hyperf/pimple | |
- name: Run PHPUnit | |
run: composer test |