Skip to content

Commit

Permalink
ci: move php 8 out of experimental builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ramsey committed Feb 5, 2021
1 parent 975cd1d commit d78b28f
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/continuous-integration.yml
Expand Up @@ -20,10 +20,9 @@ jobs:
- uses: "actions/checkout@v2"
- uses: "shivammathur/setup-php@v2"
with:
php-version: "7.4"
php-version: "8.0"
coverage: "none"
ini-values: "memory_limit=-1"
tools: "composer:v2"
- uses: "ramsey/composer-install@v1"
- name: "Check coding standards"
run: "bin/devtools lint"
Expand All @@ -35,10 +34,9 @@ jobs:
- uses: "actions/checkout@v2"
- uses: "shivammathur/setup-php@v2"
with:
php-version: "7.4"
php-version: "8.0"
coverage: "none"
ini-values: "memory_limit=-1"
tools: "composer:v2"
- uses: "ramsey/composer-install@v1"
- name: "Run PHPStan"
run: "bin/devtools analyze:phpstan"
Expand All @@ -48,26 +46,18 @@ jobs:
unit-tests:
name: "Unit Tests"
runs-on: ${{ matrix.operating-system }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
php-version:
- "7.4"
- "8.0"
operating-system:
- "ubuntu-latest"
- "windows-latest"
dependencies:
- "lowest"
- "highest"
experimental:
- false
include:
- php-version: "8.0"
operating-system: "ubuntu-latest"
dependencies: "highest"
experimental: true
composer-options: "--ignore-platform-reqs"
steps:
- name: "Configure Git"
if: ${{ matrix.operating-system == 'windows-latest' }}
Expand All @@ -80,11 +70,9 @@ jobs:
php-version: "${{ matrix.php-version }}"
coverage: "pcov"
ini-values: "memory_limit=-1"
tools: "composer:v2"
- uses: "ramsey/composer-install@v1"
with:
dependency-versions: "${{ matrix.dependencies }}"
composer-options: "${{ matrix.composer-options }}"
- name: "Run unit tests"
run: "bin/devtools test:coverage:ci -- --coverage-text"
- name: "Publish coverage report to Codecov"
Expand Down

0 comments on commit d78b28f

Please sign in to comment.