Improve theme color #3474
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: tests | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
name: PHP ${{ matrix.php-version }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php-version: [8.2, 8.3, 8.4] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup PHP ${{ matrix.php-version }} | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
tools: composer:v2 | |
coverage: xdebug | |
- name: Create SQLite database | |
run: | | |
touch database/database.sqlite | |
- name: Install Dependencies (Composer) | |
uses: nick-fields/retry@v3 | |
with: | |
timeout_minutes: 5 | |
max_attempts: 3 | |
command: | | |
touch database/database.sqlite | |
composer install --prefer-dist --no-interaction --no-progress | |
- name: Install Dependencies (NPM) | |
uses: nick-fields/retry@v3 | |
with: | |
timeout_minutes: 5 | |
max_attempts: 3 | |
command: npm install | |
- name: Prepare | |
run: | | |
php artisan config:clear | |
npm run build | |
- name: Execute Tests | |
run: ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml | |
- name: Send Coverage To Coveralls | |
uses: coverallsapp/github-action@v2 | |
with: | |
parallel: true |