Skip to content
This repository was archived by the owner on May 13, 2021. It is now read-only.

Add multiple php versions during CI tests #82

Merged
merged 1 commit into from
Jan 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,17 @@ on:

jobs:
tests:
name: tests
strategy:
matrix:
php-versions: ['7.3', '7.4', '8.0']
name: tests (php ${{ matrix.php-versions }})
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
Expand All @@ -27,6 +34,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
Expand Down
7 changes: 6 additions & 1 deletion bors.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
status = ['tests', 'linter-check']
status = [
'tests (php 7.3)',
'tests (php 7.4)',
'tests (php 8.0)',
'linter-check'
]
# 1 hour timeout
timeout-sec = 3600