First stab at support for 8.3 #114
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHPSpec-Tests | |
on: push | |
jobs: | |
phpspec-tests: | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ ubuntu-20.04 ] | |
php-versions: [ '7.4', '8.0.12', '8.1', '8.2', '8.3' ] | |
name: Evaluate Behavior, ${{ matrix.php-versions }} on ${{ matrix.operating-system }} | |
steps: | |
# Get the source code | |
- name: Checkout | |
uses: actions/checkout@v2 | |
# Prepare PHP | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
extensions: xdebug | |
env: | |
fail-fast: false | |
# Composer Install | |
- name: Composer Install | |
uses: php-actions/composer@v5 | |
with: | |
php_version: ${{ matrix.php-versions }} | |
dev: yes | |
interaction: no | |
args: --prefer-source | |
version: 2 | |
# Execute PHPSpec | |
- name: Execute PHPSpec | |
run: XDEBUG_MODE=coverage vendor/bin/phpspec --config=phpspec.yml run | |
# Push Coverage | |
- name: Push Coverage | |
env: | |
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }} | |
run: vendor/bin/codacycoverage clover build/coverage.xml | |