Skip to content

Modify the edit article page layout to match. #21

Modify the edit article page layout to match.

Modify the edit article page layout to match. #21

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
laravel-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist --ignore-platform-reqs
- name: Compile frontend assets
run: |
npm install
npm run build
- name: Generate key
run: php artisan key:generate
- name: Directory Permissions
run: chmod -R 777 storage bootstrap/cache
- name: Create Database
run: |
mkdir -p database
touch database/database.sqlite
- name: Set up environment variables and scout driver
run: |
echo SCOUT_DRIVER=algolia >> .env
echo DEEPL_API_KEY=${{ secrets.DEEPL_API_KEY }} >> .env
echo ALGOLIA_APP_ID=${{ secrets.ALGOLIA_APP_ID }} >> .env
echo ALGOLIA_API_KEY=${{ secrets.ALGOLIA_API_KEY }} >> .env
- name: Execute tests (Unit and Feature tests) via PHPUnit
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
run: XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover coverage.xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: hackedhorizon/Blog