Skip to content

Commit a7d6910

Browse files
committed
Fixed PHP versions
1 parent b5d1eec commit a7d6910

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

.github/workflows/main.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -28,40 +28,40 @@ env:
2828
TERM_PROGRAM: Hyper
2929

3030
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/
6565

6666

6767
phpunit-build:

0 commit comments

Comments
 (0)