mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Merge pull request #13414 from marcusmoore/fixes/chipperci-config
Fixes ChipperCi Pipeline
This commit is contained in:
commit
ffabc9c331
|
@ -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: |
|
||||||
|
|
Loading…
Reference in a new issue