Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
SmetDenis committed Apr 28, 2021
1 parent 61a4bf7 commit 6ab3f88
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions .github/workflows/main.yml
Expand Up @@ -36,12 +36,7 @@ jobs:
strategy:
matrix:
php-version: [ 7.2, 7.3, 7.4, 8.0 ]
experimental: [ false ]
coverage: [ xdebug, none ]
composer_flags: [ "--prefer-lowest", "" ]
include:
- php-version: "8.1"
experimental: true
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -52,21 +47,19 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: ${{ matrix.coverage }}
coverage: xdebug
tools: composer

- name: Build the Project
continue-on-error: ${{ matrix.experimental }}
run: make skel-build update --no-print-directory

- name: 🧪 PHPUnit Tests
continue-on-error: ${{ matrix.experimental }}
run: make test --no-print-directory

- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: PHPUnit - ${{ matrix.php-version }} - ${{ matrix.coverage }}
name: PHPUnit - ${{ matrix.php-version }} ${{ matrix.composer_flags }}
path: build/


Expand All @@ -76,10 +69,6 @@ jobs:
strategy:
matrix:
php-version: [ 7.2, 7.3, 7.4, 8.0 ]
experimental: [ false ]
include:
- php-version: "8.1"
experimental: true
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -90,14 +79,13 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: xdebug
tools: composer

- name: Build the Project
continue-on-error: ${{ matrix.experimental }}
run: make skel-build update --no-print-directory

- name: 👍 Code Quality
continue-on-error: ${{ matrix.experimental }}
run: make codestyle --no-print-directory

- name: Upload Artifacts
Expand All @@ -113,10 +101,6 @@ jobs:
strategy:
matrix:
php-version: [ 7.2, 7.3, 7.4, 8.0 ]
experimental: [ false ]
include:
- php-version: "8.1"
experimental: true
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -127,14 +111,13 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: xdebug
tools: composer

- name: Build the Project
continue-on-error: ${{ matrix.experimental }}
run: make skel-build update --no-print-directory

- name: 📝 Build Reports
continue-on-error: ${{ matrix.experimental }}
run: make report-all --no-print-directory

- name: Upload Artifacts
Expand Down

0 comments on commit 6ab3f88

Please sign in to comment.