This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
docs: archive project in favor of CodelyTV/php-ddd-example #27
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: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install dependencies | |
run: make composer-install | |
- name: Start all the environment | |
run: make start | |
- name: Wait for the environment to get up | |
run: | | |
while ! docker exec codelytv-php_ddd_skeleton-mooc-mysql mysqladmin --user=root --password= --host "127.0.0.1" ping --silent &> /dev/null ; do | |
echo "Waiting for database connection..." | |
sleep 2 | |
done | |
- name: Run the tests | |
run: make test |