Skip to content

Commit

Permalink
Merge pull request #108 from OXIDprojects/moduletestsindocker
Browse files Browse the repository at this point in the history
Moduletestsindocker
  • Loading branch information
keywan-ghadami-oxid authored Dec 19, 2019
2 parents ef6a116 + 42abcab commit 64776d0
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/oxidmodule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: oxid module tests

on: [push]

jobs:

build:
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: keywanghadamioxid/oxid-test:6.1
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: |
cd /var/www/OXID/
vendor/bin/runtests

0 comments on commit 64776d0

Please sign in to comment.