Merge pull request #54 from OXIDprojects/fix-overwriting-multilang-st… #76
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: oxid module tests | |
on: [push] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
tag: [6.1_php7.1, 6.2-rc_php7.1] | |
services: | |
mysql: | |
image: mysql:5.7 | |
env: | |
MYSQL_ROOT_PASSWORD: root | |
MYSQL_DATABASE: oxid | |
ports: | |
- 3306 | |
options: --health-cmd "mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 10 | |
runs-on: ubuntu-latest | |
container: oxidprojects/oxid-test:${{matrix.tag}} | |
env: | |
MODULE_NAME: moduleinternals | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Validate composer.json and composer.lock | |
run: composer validate | |
- name: setup oxid | |
run: bash /var/www/OXID/setup.sh | |
- name: runt tests | |
run: | | |
MD=$(pwd) | |
cd /var/www/OXID/ | |
vendor/bin/runtests |