|
25 | 25 | - name: Checkout code
|
26 | 26 | uses: actions/checkout@v1
|
27 | 27 |
|
28 |
| - - name: Setup PHP |
29 |
| - uses: shivammathur/setup-php@v2 |
30 |
| - with: |
31 |
| - php-version: ${{ matrix.php }} |
32 |
| - extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick |
33 |
| - |
34 |
| - - name: Install dependencies |
35 |
| - run: | |
36 |
| - composer require "illuminate/contracts:${{ matrix.laravel }}" --no-interaction --no-update |
37 |
| - composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-suggest |
38 |
| -
|
39 | 28 | - name: Get changed files (Payments)
|
40 | 29 | id: changed-files-payments
|
41 | 30 | uses: tj-actions/changed-files@v44
|
|
45 | 34 | src/Http/Controllers/Payments
|
46 | 35 | tests/Feature/Payments
|
47 | 36 | composer.json
|
48 |
| - .github/workflows/tests.yml |
| 37 | + .github/workflows/tests.yaml |
49 | 38 |
|
50 | 39 | - name: Determine whether payment tests should run
|
51 | 40 | id: should-run-payment-tests
|
|
54 | 43 | echo "result=true" >> $GITHUB_OUTPUT
|
55 | 44 | echo "result=true" >> $env:GITHUB_OUTPUT
|
56 | 45 |
|
| 46 | + - name: Setup PHP |
| 47 | + uses: shivammathur/setup-php@v2 |
| 48 | + with: |
| 49 | + php-version: ${{ matrix.php }} |
| 50 | + extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick |
| 51 | + |
| 52 | + - name: Install dependencies |
| 53 | + run: | |
| 54 | + composer require "illuminate/contracts:${{ matrix.laravel }}" --no-interaction --no-update |
| 55 | + composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-suggest |
| 56 | +
|
57 | 57 | - name: Execute tests
|
58 | 58 | run: vendor/bin/phpunit --exclude-group=payments
|
59 | 59 |
|
|
0 commit comments