Skip to content

Commit ad4294a

Browse files
committed
Setup GitHub Actions CI
1 parent 08ed4a3 commit ad4294a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
symfony-tests:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
12+
- name: Set up PHP 8.4
13+
uses: shivammathur/setup-php@v2
14+
with:
15+
php-version: '8.4'
16+
extensions: sqlite, intl, mbstring, xml, zip
17+
coverage: none
18+
19+
- name: Install dependencies
20+
run: composer install --prefer-dist --no-progress
21+
22+
- name: Check coding standards (optional)
23+
run: vendor/bin/php-cs-fixer fix --dry-run --diff
24+
25+
- name: Run tests (PHPUnit)
26+
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)