-
Notifications
You must be signed in to change notification settings - Fork 25
45 lines (33 loc) · 1.03 KB
/
ci.yml
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
38
39
40
41
42
43
44
45
name: CI
on: [pull_request]
jobs:
php82:
runs-on: ubuntu-latest
container:
image: kirschbaumdevelopment/laravel-test-runner:8.2
steps:
- uses: actions/checkout@v2
- name: Composer dependency cache
uses: "actions/cache@v2.0.0"
with:
path: "./vendor"
key: php-${{ hashFiles('composer.lock') }}
- name: Install Dependencies
run: composer install --no-scripts --no-ansi --no-suggest --no-progress
- name: Run test suite
run: ./vendor/bin/phpunit
php83:
runs-on: ubuntu-latest
container:
image: kirschbaumdevelopment/laravel-test-runner:8.3
steps:
- uses: actions/checkout@v2
- name: Composer dependency cache
uses: "actions/cache@v2.0.0"
with:
path: "./vendor"
key: php-${{ hashFiles('composer.lock') }}
- name: Install Dependencies
run: composer install --no-scripts --no-ansi --no-suggest --no-progress
- name: Run test suite
run: ./vendor/bin/phpunit