-
-
Notifications
You must be signed in to change notification settings - Fork 130
37 lines (29 loc) · 811 Bytes
/
pr_tests.yml
File metadata and controls
37 lines (29 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: CI
on: [push, pull_request]
env:
IS_GITHUB: "true"
jobs:
phpunit:
strategy:
fail-fast: false
matrix:
php_version: ["8.1", "8.2", "8.3", "8.4", "8.5", "latest"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Start Redis on Default Port
uses: supercharge/redis-github-action@1.4.0
with:
redis-port: 6379
# - name: Start 2nd Redis Server on 6380
# uses: supercharge/redis-github-action@1.4.0
# with:
# redis-port: 6380
# These are the versions of the *actions*, not the libraries.
- name: Install PHP Packages
uses: php-actions/composer@v5
- name: Run Tests
uses: php-actions/phpunit@v4
with:
version: 9.6.16
php_version: ${{ matrix.php_version }}