Merge pull request #2106 from jitendra-webkul/1.0

Removed ci.yml
This commit is contained in:
Jitendra Singh 2020-01-21 20:37:03 +05:30 committed by GitHub
commit 2852efdcaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 34 deletions

View File

@ -1,34 +0,0 @@
name: Bagisto
on: [push]
jobs:
laravel-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup PHP
- uses: shivammathur/setup-php@v1
with:
extensions: intl
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.ci', '.env');"
- name: Install Dependencies
run: composer install
- name: Generate key
run: php artisan key:generate
- name: Create Database
run: |
mkdir -p database
touch database/database.sqlite
- name: Execute tests (Unit, Feature and Trigger tests) via Codeception
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
run: |
set -e
@php artisan migrate:fresh --env=ci
vendor/bin/codecept run unit
vendor/bin/codecept run functional
vendor/bin/codecept run trigger