From 039dfaa6c3c0c86cbfd25f10405d56036499d614 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 31 Mar 2024 16:10:28 -0600 Subject: [PATCH] Update circleci config --- .circleci/config.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7afd036cd..ba36559bc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,7 +21,12 @@ jobs: steps: - checkout - - run: sudo apt update && sudo apt install zlib1g-dev libsqlite3-dev + - run: + name: "Create Environment file and generate app key" + command: | + mv .env.testing .env + + - run: sudo apt install zlib1g-dev libsqlite3-dev # Download and cache dependencies @@ -36,18 +41,17 @@ jobs: - run: composer install -n --prefer-dist - save_cache: - key: composer-v2-{{ checksum "composer.lock" }} + key: v2-dependencies-{{ checksum "composer.json" }} paths: - vendor - - run: cp .env.testing .env - run: php artisan config:cache - run: php artisan route:clear - run: php artisan storage:link - run: php artisan key:generate # run tests with phpunit or codecept - - run: php artisan test --env=testing + - run: php artisan test - store_test_results: path: tests/_output - store_artifacts: