Skip to content

Commit

Permalink
remove steps test temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
BdsOliveira committed Feb 20, 2024
1 parent b57c1ac commit a175b1b
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,37 +20,37 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, dom, fileinfo, pdo_sqlite
# - name: Setup PHP
# uses: shivammathur/setup-php@v2
# with:
# php-version: ${{ matrix.php-versions }}
# extensions: mbstring, dom, fileinfo, pdo_sqlite

- name: Install Composer dependencies
run: composer update --no-progress --prefer-dist --optimize-autoloader
# - name: Install Composer dependencies
# run: composer update --no-progress --prefer-dist --optimize-autoloader

- name: Prepare the application
run: |
php -r "file_exists('.env') || copy('.env.example', '.env');"
php artisan key:generate
# - name: Prepare the application
# run: |
# php -r "file_exists('.env') || copy('.env.example', '.env');"
# php artisan key:generate

- name: Directory Permissions
run: chmod -R 777 storage bootstrap/cache
# - name: Directory Permissions
# run: chmod -R 777 storage bootstrap/cache

- name: Clear Config
run: php artisan config:clear
# - name: Clear Config
# run: php artisan config:clear

- name: Create Database
run: touch database/database.sqlite
# - name: Create Database
# run: touch database/database.sqlite

- name: Migrate Database
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
run: php artisan migrate
# - name: Migrate Database
# env:
# DB_CONNECTION: sqlite
# DB_DATABASE: database/database.sqlite
# run: php artisan migrate

- name: Test with phpunit
run: vendor/bin/phpunit --testdox
# - name: Test with phpunit
# run: vendor/bin/phpunit --testdox

deploy-develop:
name: Deploy to dev Enviroment
Expand Down

0 comments on commit a175b1b

Please sign in to comment.