|
35 | 35 | JBZOO_COMPOSER_UPDATE_FLAGS: ${{ matrix.composer_flags }} |
36 | 36 | strategy: |
37 | 37 | matrix: |
38 | | - php-version: [ 7.4, 8.0 ] |
| 38 | + php-version: [ 7.4, 8.0, 8.1 ] |
39 | 39 | composer_flags: [ "--prefer-lowest", "" ] |
40 | 40 | steps: |
41 | 41 | - name: Checkout code |
@@ -64,42 +64,42 @@ jobs: |
64 | 64 | path: build/ |
65 | 65 |
|
66 | 66 |
|
67 | | - phpunit-build: |
68 | | - name: PHPUnit (build) |
69 | | - runs-on: ubuntu-latest |
70 | | - strategy: |
71 | | - matrix: |
72 | | - php-version: [ 7.2, 7.3, 7.4, 8.0 ] |
73 | | - steps: |
74 | | - - name: Checkout code |
75 | | - uses: actions/checkout@v2 |
76 | | - with: |
77 | | - fetch-depth: 0 |
78 | | - |
79 | | - - name: Setup PHP |
80 | | - uses: shivammathur/setup-php@v2 |
81 | | - with: |
82 | | - php-version: ${{ matrix.php-version }} |
83 | | - coverage: xdebug |
84 | | - tools: composer |
85 | | - |
86 | | - - name: Build the Project |
87 | | - run: make build --no-print-directory |
88 | | - |
89 | | - - name: 🧪 PHPUnit Tests |
90 | | - run: make test --no-print-directory |
91 | | - |
92 | | - - name: Uploading coverage to coveralls |
93 | | - env: |
94 | | - COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
95 | | - run: make report-coveralls --no-print-directory |
96 | | - |
97 | | - - name: Upload Artifacts |
98 | | - uses: actions/upload-artifact@v2 |
99 | | - continue-on-error: true |
100 | | - with: |
101 | | - name: PHPUnit (build) - ${{ matrix.php-version }} - ${{ matrix.coverage }} - ${{ matrix.build-way }} |
102 | | - path: build/ |
| 67 | +# phpunit-build: |
| 68 | +# name: PHPUnit (build) |
| 69 | +# runs-on: ubuntu-latest |
| 70 | +# strategy: |
| 71 | +# matrix: |
| 72 | +# php-version: [ 7.2, 7.3, 7.4, 8.0 ] |
| 73 | +# steps: |
| 74 | +# - name: Checkout code |
| 75 | +# uses: actions/checkout@v2 |
| 76 | +# with: |
| 77 | +# fetch-depth: 0 |
| 78 | +# |
| 79 | +# - name: Setup PHP |
| 80 | +# uses: shivammathur/setup-php@v2 |
| 81 | +# with: |
| 82 | +# php-version: ${{ matrix.php-version }} |
| 83 | +# coverage: xdebug |
| 84 | +# tools: composer |
| 85 | +# |
| 86 | +# - name: Build the Project |
| 87 | +# run: make build --no-print-directory |
| 88 | +# |
| 89 | +# - name: 🧪 PHPUnit Tests |
| 90 | +# run: make test --no-print-directory |
| 91 | +# |
| 92 | +# - name: Uploading coverage to coveralls |
| 93 | +# env: |
| 94 | +# COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 95 | +# run: make report-coveralls --no-print-directory |
| 96 | +# |
| 97 | +# - name: Upload Artifacts |
| 98 | +# uses: actions/upload-artifact@v2 |
| 99 | +# continue-on-error: true |
| 100 | +# with: |
| 101 | +# name: PHPUnit (build) - ${{ matrix.php-version }} - ${{ matrix.coverage }} - ${{ matrix.build-way }} |
| 102 | +# path: build/ |
103 | 103 |
|
104 | 104 |
|
105 | 105 | linters: |
|
0 commit comments