Skip to content

Commit bab2087

Browse files
ikidnapmyselfclaude
andcommitted
ci: add Scrutinizer config with Ubuntu 22.04, PHP 8.3, MySQL 8.0
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent e526735 commit bab2087

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.scrutinizer.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
build:
2+
environment:
3+
ubuntu: '2204'
4+
php:
5+
version: '8.3'
6+
ini:
7+
memory_limit: '-1'
8+
mysql:
9+
version: '8.0'
10+
database: swinn-test
11+
username: root
12+
password: root
13+
14+
dependencies:
15+
before:
16+
- php -r "file_exists('.env') || copy('.env.example', '.env');"
17+
- composer install --no-ansi --no-interaction --no-scripts --prefer-dist
18+
- php artisan key:generate
19+
- php artisan migrate --force
20+
- php artisan passport:install --no-interaction
21+
22+
tests:
23+
override:
24+
- php-scrutinizer-run
25+
- command: vendor/bin/phpunit
26+
coverage:
27+
file: build/logs/clover.xml
28+
format: clover
29+
30+
checks:
31+
php:
32+
code_rating: true
33+
duplication: true

0 commit comments

Comments
 (0)