From 47fe42563183d00f28c0422c1c616b95a39cbf10 Mon Sep 17 00:00:00 2001 From: MiltonPM Date: Wed, 12 Jun 2019 15:58:55 -0400 Subject: [PATCH] Run Test units --- .circleci/config.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f9042f8fc..b4b5b0226 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,17 +4,20 @@ jobs: working_directory: ~/processmaker docker: - image: devopsstacks/pm:n225-phpunit + resource_class: large branches: only: # Only executed circleci for this branch - /KR.*/ - steps: - - run: ls -la /etc/init.d/ - - run: service mysqld restart - - run: service mysqld status + steps: - checkout + - run: ls -la /tmp/ + - run: service mysqld restart - run: mysql -u root -ppassword -e "create database test;" - run: composer install - run: vendor/phpunit/phpunit/phpunit --coverage-html ./coverage tests/unit/workflow/engine/src/ProcessMaker/Model/DelegationTest.php - run: ls -la coverage + - store_artifacts: + path: coverage + destination: coverage \ No newline at end of file