File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 13
13
fail-fast : false
14
14
matrix :
15
15
os : [ubuntu-latest]
16
- php : [8.1, 8.0]
16
+ php : [8.2, 8. 1, 8.0]
17
17
laravel : [9.*, 8.*]
18
18
stability : [prefer-lowest, prefer-stable]
19
19
include :
@@ -26,17 +26,20 @@ jobs:
26
26
27
27
steps :
28
28
- name : Checkout code
29
- uses : actions/checkout@v2
29
+ uses : actions/checkout@v3
30
30
31
31
- name : Install SQLite 3 (3.32 is required and only included in Ubuntu 21.x)
32
32
run : |
33
+ sudo apt-get update
33
34
sudo apt-get install build-essential tar wget
34
- wget https://www.sqlite.org/2021 /sqlite-autoconf-3370000 .tar.gz
35
- tar xzf sqlite-autoconf-3370000 .tar.gz
36
- cd sqlite-autoconf-3370000
37
- ./configure
35
+ wget https://www.sqlite.org/2022 /sqlite-autoconf-3400000 .tar.gz
36
+ tar xzf sqlite-autoconf-3400000 .tar.gz
37
+ cd sqlite-autoconf-3400000
38
+ ./configure --prefix=/usr
38
39
make
39
40
sudo make install
41
+ sudo cp -f ./sqlite3 /usr/bin/sqlite3
42
+ cd ..
40
43
sqlite3 --version
41
44
42
45
- name : Setup PHP
50
53
run : |
51
54
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
52
55
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
56
+
53
57
- name : Install dependencies
54
58
run : |
55
- composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
59
+ composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.63" " orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
56
60
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
61
+
57
62
- name : Execute tests
58
- run : vendor/bin/pest --no-coverage
63
+ run : vendor/bin/pest
You can’t perform that action at this time.
0 commit comments