Merge pull request #13414 from marcusmoore/fixes/chipperci-config

Fixes ChipperCi Pipeline
This commit is contained in:
snipe 2023-08-09 10:37:21 +01:00 committed by GitHub
commit ffabc9c331
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,10 +20,8 @@ on:
pipeline: pipeline:
- name: Setup - name: Setup
cmd: | cmd: |
cp -v .env.example .env cp -v .env.testing.example .env
# This is simply to allow passing the guard in TestCase@setUp() cp -v .env.testing.example .env.testing
# https://chipperci.com/docs/builds/env
touch .env.testing
composer install --no-interaction --prefer-dist --optimize-autoloader composer install --no-interaction --prefer-dist --optimize-autoloader
- name: Generate Key - name: Generate Key
@ -36,15 +34,15 @@ pipeline:
- name: Run Migrations - name: Run Migrations
cmd: | cmd: |
# php artisan migrate --force php artisan migrate --force
- name: PHPUnit Unit Tests - name: PHPUnit Unit Tests
cmd: | cmd: |
# php artisan test --testsuite Unit php artisan test --testsuite Unit
- name: PHPUnit Feature Tests - name: PHPUnit Feature Tests
cmd: | cmd: |
# php artisan test --testsuite Feature php artisan test --testsuite Feature
# - name: Browser Tests # - name: Browser Tests
# cmd: | # cmd: |