Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
devansh-webkul committed Oct 26, 2023
1 parent b5ea4f2 commit bc1f881
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml → .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Tests

on: [push, pull_request]

Expand Down Expand Up @@ -28,13 +28,15 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: curl, fileinfo, gd, intl, mbstring, openssl, pdo, pdo_mysql, tokenizer, zip
ini-values: error_reporting=E_ALL
tools: composer:v2

- name: Running Composer Install
run: composer install
Expand All @@ -52,7 +54,9 @@ jobs:
run: php artisan bagisto:install

- name: Running Code Style Test
run: vendor/bin/pint --test
uses: aglipanci/[email protected]
with:
testMode: true

- name: Running Test
- name: Running Pest Test
run: vendor/bin/pest --colors=always
2 changes: 1 addition & 1 deletion public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
|
*/

if (file_exists($maintenance = __DIR__ . '/../storage/framework/maintenance.php')) {
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
require $maintenance;
}

Expand Down

0 comments on commit bc1f881

Please sign in to comment.