From 119ed9c882744d7739d1b759bb2393b4a72950d9 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Mon, 7 Aug 2023 11:09:10 -0700 Subject: [PATCH 1/9] Troubleshooting pipeline: remove comment to trigger build --- .chipperci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.chipperci.yml b/.chipperci.yml index 0c1ad8ba15..7d7e99a02c 100644 --- a/.chipperci.yml +++ b/.chipperci.yml @@ -21,8 +21,6 @@ pipeline: - name: Setup cmd: | cp -v .env.example .env -# This is simply to allow passing the guard in TestCase@setUp() -# https://chipperci.com/docs/builds/env touch .env.testing composer install --no-interaction --prefer-dist --optimize-autoloader From 6398805fc369a587dc318484cfa394f2381ead86 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Mon, 7 Aug 2023 11:24:38 -0700 Subject: [PATCH 2/9] Troubleshooting pipeline: use .env.testing in place of .env.example --- .chipperci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.chipperci.yml b/.chipperci.yml index 7d7e99a02c..f0ec2ee822 100644 --- a/.chipperci.yml +++ b/.chipperci.yml @@ -20,8 +20,7 @@ on: pipeline: - name: Setup cmd: | - cp -v .env.example .env - touch .env.testing + cp -v .env.testing .env composer install --no-interaction --prefer-dist --optimize-autoloader - name: Generate Key From 8ea8ff05e57ab27fe747ccaf4e0e6d370f925dd0 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Mon, 7 Aug 2023 11:26:04 -0700 Subject: [PATCH 3/9] Troubleshooting pipeline: fix filename --- .chipperci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.chipperci.yml b/.chipperci.yml index f0ec2ee822..16ef5a19a1 100644 --- a/.chipperci.yml +++ b/.chipperci.yml @@ -20,7 +20,7 @@ on: pipeline: - name: Setup cmd: | - cp -v .env.testing .env + cp -v .env.testing.example .env composer install --no-interaction --prefer-dist --optimize-autoloader - name: Generate Key From a7d1657111378bac75f1f3a11fd687f741f74c60 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Mon, 7 Aug 2023 11:31:00 -0700 Subject: [PATCH 4/9] Troubleshooting pipeline: use phpunit in place of artisan test --- .chipperci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.chipperci.yml b/.chipperci.yml index 16ef5a19a1..d86f283283 100644 --- a/.chipperci.yml +++ b/.chipperci.yml @@ -37,11 +37,11 @@ pipeline: - name: PHPUnit Unit Tests cmd: | - # php artisan test --testsuite Unit + # phpunit --testsuite Unit - name: PHPUnit Feature Tests cmd: | - # php artisan test --testsuite Feature + # phpunit --testsuite Feature # - name: Browser Tests # cmd: | From 81efa7d84efa8ba23a3e1f1500d6723dfaa820e7 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Mon, 7 Aug 2023 11:35:18 -0700 Subject: [PATCH 5/9] Revert "Troubleshooting pipeline: use phpunit in place of artisan test" This reverts commit a7d1657111378bac75f1f3a11fd687f741f74c60. --- .chipperci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.chipperci.yml b/.chipperci.yml index d86f283283..16ef5a19a1 100644 --- a/.chipperci.yml +++ b/.chipperci.yml @@ -37,11 +37,11 @@ pipeline: - name: PHPUnit Unit Tests cmd: | - # phpunit --testsuite Unit + # php artisan test --testsuite Unit - name: PHPUnit Feature Tests cmd: | - # phpunit --testsuite Feature + # php artisan test --testsuite Feature # - name: Browser Tests # cmd: | From 0d4097972473c0fb99e52c56ee8ca051d8df8c9b Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Mon, 7 Aug 2023 11:36:51 -0700 Subject: [PATCH 6/9] Troubleshooting pipeline: Remove commented commands --- .chipperci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.chipperci.yml b/.chipperci.yml index 16ef5a19a1..6a661a608e 100644 --- a/.chipperci.yml +++ b/.chipperci.yml @@ -33,15 +33,15 @@ pipeline: - name: Run Migrations cmd: | - # php artisan migrate --force + php artisan migrate --force - name: PHPUnit Unit Tests cmd: | - # php artisan test --testsuite Unit + php artisan test --testsuite Unit - name: PHPUnit Feature Tests cmd: | - # php artisan test --testsuite Feature + php artisan test --testsuite Feature # - name: Browser Tests # cmd: | From d3a45f73cf1741037d99e86a3b43530176996f12 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Mon, 7 Aug 2023 11:48:09 -0700 Subject: [PATCH 7/9] Troubleshooting pipeline: re-add creating .env.testing --- .chipperci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.chipperci.yml b/.chipperci.yml index 6a661a608e..ea6d667333 100644 --- a/.chipperci.yml +++ b/.chipperci.yml @@ -21,6 +21,7 @@ pipeline: - name: Setup cmd: | cp -v .env.testing.example .env + touch .env.testing composer install --no-interaction --prefer-dist --optimize-autoloader - name: Generate Key From 999605b591cbf1050d30b19b1e5f6a7f6011ae93 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Mon, 7 Aug 2023 11:57:34 -0700 Subject: [PATCH 8/9] Troubleshooting pipeline: create .env.testing in place of .env --- .chipperci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.chipperci.yml b/.chipperci.yml index ea6d667333..efb3c5cf28 100644 --- a/.chipperci.yml +++ b/.chipperci.yml @@ -20,8 +20,7 @@ on: pipeline: - name: Setup cmd: | - cp -v .env.testing.example .env - touch .env.testing + cp -v .env.testing.example .env.testing composer install --no-interaction --prefer-dist --optimize-autoloader - name: Generate Key From b56bcd35967e2cb5efd4f4bfbbef6e783b558cf8 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Mon, 7 Aug 2023 11:59:58 -0700 Subject: [PATCH 9/9] Troubleshooting pipeline: create both .env and .env.testing --- .chipperci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.chipperci.yml b/.chipperci.yml index efb3c5cf28..0c18b253c9 100644 --- a/.chipperci.yml +++ b/.chipperci.yml @@ -20,6 +20,7 @@ on: pipeline: - name: Setup cmd: | + cp -v .env.testing.example .env cp -v .env.testing.example .env.testing composer install --no-interaction --prefer-dist --optimize-autoloader