chore: bump barryvdh/laravel-dompdf from 2.0.1 to 2.2.0 #110
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Laravel | |
on: | |
workflow_dispatch: | |
push: | |
# pull_request: | |
# branches: [ "1.16/release" ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Copy .env | |
run: php -r "file_exists('.env') || copy('.env.ghactions', '.env');" | |
- name: Install Dependencies | |
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist | |
- name: Create DB | |
run: | | |
touch /tmp/data.db | |
php artisan migrate | |
- name: Generate key | |
run: php artisan key:generate | |
- name: Passport install | |
run: php .docker/passport-install.php . | |
- name: Directory Permissions | |
run: chmod -R 777 storage bootstrap/cache | |
- name: Key Permissions | |
run: chmod 600 ./storage/*.key | |
- name: Run tests | |
run: | | |
PHPUNIT_SKIP_MYSQL_TEST=1 XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-xml target/coverage | |
- name: Check coverage | |
run: | | |
php artisan arc:test:coverage target/coverage/index.xml | |
# gh act -j test |