File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 39
39
${{ runner.os }}-build-
40
40
${{ runner.os }}-
41
41
42
+ - name : Install PHP 7.4
43
+ run : |
44
+ sudo apt-get update
45
+ sudo apt-get install -y software-properties-common
46
+ sudo add-apt-repository ppa:ondrej/php -y
47
+ sudo apt-get update
48
+ sudo apt-get install -y php7.4
49
+
42
50
- name : setup lxdmosaic
43
51
run : sudo sh examples/test_setup.sh
44
52
50
58
51
59
- name : run tests
52
60
run : /usr/bin/php7.4 -dxdebug.mode=coverage vendor/bin/phpunit --coverage-html=./coverage
53
-
61
+
54
62
- name : run phpstan
55
63
run : /usr/bin/php7.4 vendor/bin/phpstan analyse src --level 1
56
64
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ sudo dpkg --purge --force-all lxd lxc
5
5
apt-get update
6
6
7
7
# # Install Dependecies
8
- apt-get install -y apache2 php php -cli php -json php -mysql php -xml php -curl unzip zip git nodejs openssl || exit $?
8
+ apt-get install -y apache2 php7.4 php7.4 -cli php7.4 -json php7.4 -mysql php7.4 -xml php7.4 -curl php7.4-mbstring unzip zip git nodejs openssl || exit $?
9
9
apt-get install -y mysql-server || exit $?
10
10
apt-get install -y --no-install-recommends cron || exit $?
11
- apt-get install -y --no-install-recommends php -xdebug || exit $?
11
+ apt-get install -y --no-install-recommends php7.4 -xdebug || exit $?
12
12
13
13
mkdir -p src/sensitiveData/certs
14
14
mkdir -p src/sensitiveData/backups
You can’t perform that action at this time.
0 commit comments