Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 467 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 467 Bytes

Demo of basic symfony 4 project and circle CI config

Shows how to create a test that talks to a database.

Make sure your test database config (see: .env.test) matches the database setup in .circleci/config.yml. In this example:

    - run: mysql -h 127.0.0.1 -u root -e "CREATE DATABASE demo;"
    - run: mysql -h 127.0.0.1 -u root -e "CREATE USER demo IDENTIFIED BY 'mypass';"
    - run: mysql -h 127.0.0.1 -u root -e "GRANT ALL ON demo.* TO demo;"