forked from OPUS4/framework
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (19 loc) · 745 Bytes
/
Copy pathphp.yml
File metadata and controls
29 lines (19 loc) · 745 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
name: PHP Composer
on: [push]
jobs:
build:
runs-on: ubuntu-16.04
steps:
- uses: actions/checkout@v2
- name: Change to PHP7.0
run: sudo update-alternatives --set php /usr/bin/php7.0
- name: Install Composer and Dependencies
run: sudo apt-get update && curl -s http://getcomposer.org/installer | php && php composer.phar self-update && php composer.phar install
- name: MySQL
run: sudo bash bin/install_mysql_docker.sh
- name: Prepare
run: ant prepare-workspace prepare-config create-database lint -DdbUserPassword=root -DdbAdminPassword=root
- name: Coding-Style
run: php composer.phar cs-check
- name: Test
run: php composer.phar test