Skip to content

Commit 16f4f1f

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

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.env.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

22
###> symfony/framework-bundle ###
3-
APP_SECRET=ae2380c7788189b5cd1f9415e935afbc
3+
APP_SECRET=this_is_really_semi_secret_for_dev_so_it_is_okay
44
###< symfony/framework-bundle ###

.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)