|
28 | 28 | TERM_PROGRAM: Hyper |
29 | 29 |
|
30 | 30 | jobs: |
31 | | -# phpunit-update: |
32 | | -# name: PHPUnit (update) |
33 | | -# runs-on: ubuntu-latest |
34 | | -# env: |
35 | | -# JBZOO_COMPOSER_UPDATE_FLAGS: ${{ matrix.composer_flags }} |
36 | | -# strategy: |
37 | | -# matrix: |
38 | | -# php-version: [ 7.2, 7.3, 7.4, 8.0 ] |
39 | | -# composer_flags: [ "--prefer-lowest", "" ] |
40 | | -# steps: |
41 | | -# - name: Checkout code |
42 | | -# uses: actions/checkout@v2 |
43 | | -# with: |
44 | | -# fetch-depth: 0 |
45 | | -# |
46 | | -# - name: Setup PHP |
47 | | -# uses: shivammathur/setup-php@v2 |
48 | | -# with: |
49 | | -# php-version: ${{ matrix.php-version }} |
50 | | -# coverage: xdebug |
51 | | -# tools: composer |
52 | | -# |
53 | | -# - name: Build the Project |
54 | | -# run: make update --no-print-directory |
55 | | -# |
56 | | -# - name: 🧪 PHPUnit Tests |
57 | | -# run: make test --no-print-directory |
58 | | -# |
59 | | -# - name: Upload Artifacts |
60 | | -# uses: actions/upload-artifact@v2 |
61 | | -# continue-on-error: true |
62 | | -# with: |
63 | | -# name: PHPUnit (update) - ${{ matrix.php-version }} - ${{ matrix.coverage }} - ${{ matrix.build-way }} |
64 | | -# path: build/ |
| 31 | + phpunit-update: |
| 32 | + name: PHPUnit (update) |
| 33 | + runs-on: ubuntu-latest |
| 34 | + env: |
| 35 | + JBZOO_COMPOSER_UPDATE_FLAGS: ${{ matrix.composer_flags }} |
| 36 | + strategy: |
| 37 | + matrix: |
| 38 | + php-version: [ 7.4, 8.0 ] |
| 39 | + composer_flags: [ "--prefer-lowest", "" ] |
| 40 | + steps: |
| 41 | + - name: Checkout code |
| 42 | + uses: actions/checkout@v2 |
| 43 | + with: |
| 44 | + fetch-depth: 0 |
| 45 | + |
| 46 | + - name: Setup PHP |
| 47 | + uses: shivammathur/setup-php@v2 |
| 48 | + with: |
| 49 | + php-version: ${{ matrix.php-version }} |
| 50 | + coverage: xdebug |
| 51 | + tools: composer |
| 52 | + |
| 53 | + - name: Build the Project |
| 54 | + run: make update --no-print-directory |
| 55 | + |
| 56 | + - name: 🧪 PHPUnit Tests |
| 57 | + run: make test --no-print-directory |
| 58 | + |
| 59 | + - name: Upload Artifacts |
| 60 | + uses: actions/upload-artifact@v2 |
| 61 | + continue-on-error: true |
| 62 | + with: |
| 63 | + name: PHPUnit (update) - ${{ matrix.php-version }} - ${{ matrix.coverage }} - ${{ matrix.build-way }} |
| 64 | + path: build/ |
65 | 65 |
|
66 | 66 |
|
67 | 67 | phpunit-build: |
|
0 commit comments