Trigger actions on pull request.
parent
a4b8d812d4
commit
0c2e5ee1f6
|
@ -1,6 +1,6 @@
|
||||||
name: PHP Composer
|
name: build
|
||||||
|
|
||||||
on: [push]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -43,10 +43,10 @@ jobs:
|
||||||
- name: Validate composer.json and composer.lock
|
- name: Validate composer.json and composer.lock
|
||||||
run: composer validate
|
run: composer validate
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install PHP dependencies
|
||||||
run: composer install --prefer-dist --no-progress --no-suggest
|
run: composer install --prefer-dist --no-progress --no-suggest
|
||||||
|
|
||||||
- name: Make PHP modules symlinks
|
- name: Create synlinks for MONARC PHP modules
|
||||||
run: |
|
run: |
|
||||||
mkdir -p module/Monarc
|
mkdir -p module/Monarc
|
||||||
cd module/Monarc
|
cd module/Monarc
|
||||||
|
@ -57,7 +57,7 @@ jobs:
|
||||||
- name: Set MONARC configuration file
|
- name: Set MONARC configuration file
|
||||||
run: cp ./config/autoload/local.php.dist ./config/autoload/local.php
|
run: cp ./config/autoload/local.php.dist ./config/autoload/local.php
|
||||||
|
|
||||||
- name: Populating common database
|
- name: Creating and populating databases
|
||||||
run: |
|
run: |
|
||||||
mysql -u root -p$MYSQL_ROOT_PASSWORD -P $MYSQL_HOST_PORT -e "CREATE DATABASE monarc_common DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;"
|
mysql -u root -p$MYSQL_ROOT_PASSWORD -P $MYSQL_HOST_PORT -e "CREATE DATABASE monarc_common DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;"
|
||||||
mysql -u root -p$MYSQL_ROOT_PASSWORD -P $MYSQL_HOST_PORT -e "CREATE DATABASE monarc_cli DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;"
|
mysql -u root -p$MYSQL_ROOT_PASSWORD -P $MYSQL_HOST_PORT -e "CREATE DATABASE monarc_cli DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;"
|
||||||
|
|
|
@ -5,6 +5,9 @@ MONARC - Method for an Optimised aNAlysis of Risks by CASES
|
||||||
![License](https://img.shields.io/github/license/monarc-project/MonarcAppFO.svg?style=flat-square)
|
![License](https://img.shields.io/github/license/monarc-project/MonarcAppFO.svg?style=flat-square)
|
||||||
![Contributors](https://img.shields.io/github/contributors/monarc-project/MonarcAppFO.svg?style=flat-square)
|
![Contributors](https://img.shields.io/github/contributors/monarc-project/MonarcAppFO.svg?style=flat-square)
|
||||||
![Stars](https://img.shields.io/github/stars/monarc-project/MonarcAppFO.svg?style=flat-square)
|
![Stars](https://img.shields.io/github/stars/monarc-project/MonarcAppFO.svg?style=flat-square)
|
||||||
|
[![Workflow](https://github.com/monarc-project/MonarcAppFO/workflows/build/badge.svg)](https://github.com/monarc-project/MonarcAppFO/actions?query=build)
|
||||||
|
[![Twitter](https://img.shields.io/twitter/follow/MONARCProject.svg?style=social&label=Follow&style=flat-square)](https://twitter.com/MONARCproject)
|
||||||
|
|
||||||
|
|
||||||
Introduction
|
Introduction
|
||||||
------------
|
------------
|
||||||
|
|
Loading…
Reference in New Issue