小程序发货信息管理服务 (#2773) #1642
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: Test | |
on: [push, pull_request] | |
jobs: | |
phpunit: | |
name: PHP-${{ matrix.php_version }}-${{ matrix.perfer }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php_version: | |
- 7.4 | |
# - 8.0-rc | |
perfer: | |
- stable | |
# - lowest | |
container: | |
image: nauxliu/php-ci-image:${{ matrix.php_version }} | |
steps: | |
- uses: actions/checkout@master | |
- name: Install Dependencies | |
run: composer update --prefer-dist --no-interaction --no-suggest --prefer-${{ matrix.perfer }} | |
- name: Run PHPUnit | |
run: ./vendor/bin/phpunit |