[DEV-190] Fix tests (#1201)
* [DEV-190] Add extra setup step before running tests
* 🤦
This commit is contained in:
parent
c82aaa001e
commit
39f8a601db
|
@ -20,6 +20,7 @@ install-not-interactive:
|
|||
setup-vendor-permissions:
|
||||
@docker exec opensupports-srv bash -c "cd /var/www/html && chmod 777 -R vendor/ezyang" || echo "${red}Please execute 'make run' first${reset}"
|
||||
@docker exec opensupports-srv bash -c "cd /var/www/html && chmod 777 -R files" || echo "${red}Please execute 'make run' first${reset}"
|
||||
@docker exec opensupports-db bash -c "mysql -u root -e \"CREATE DATABASE IF NOT EXISTS development\"" || echo "${red}Please execute 'make run' first${reset}"
|
||||
|
||||
run: stop
|
||||
@docker run --platform=linux/amd64 -d --network os-net --name opensupports-db -p 4040:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes -v $(PWD)/.dbdata/:/var/lib/mysql mysql:5.6
|
||||
|
|
Loading…
Reference in New Issue