Skip to content

Commit 14544f5

Browse files
committed
Fix CI
1 parent 430fec7 commit 14544f5

18 files changed

Lines changed: 6183 additions & 311 deletions

.env

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,9 @@ MAILER_DSN=null://null
1818
###> symfony/notifier ###
1919
NOTIFIER_DSN=null://null
2020
###< symfony/notifier ###
21+
22+
###> lexik/jwt-authentication-bundle ###
23+
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
24+
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
25+
JWT_PASSPHRASE=b406fa29adfd637669a87d0d0e0032139731110641fcf3ac692c3fde392a9566
26+
###< lexik/jwt-authentication-bundle ###

.github/workflows/symfony.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,8 @@ jobs:
5555
- name: Load Doctrine fixtures
5656
run: php bin/console doctrine:fixtures:load --quiet
5757

58+
- name: Generate JWT keypair
59+
run: php bin/console lexik:jwt:generate-keypair
60+
5861
- name: Run functional tests
5962
run: vendor/bin/codecept run Functional

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,7 @@ yarn-error.log
3434
/phpunit.xml
3535
.phpunit.result.cache
3636
###< phpunit/phpunit ###
37+
38+
###> lexik/jwt-authentication-bundle ###
39+
/config/jwt/*.pem
40+
###< lexik/jwt-authentication-bundle ###

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
"php": ">=8.2.0",
1414
"ext-ctype": "*",
1515
"ext-iconv": "*",
16+
"api-platform/symfony": "^4.2",
1617
"doctrine/doctrine-bundle": "^2.18",
18+
"lexik/jwt-authentication-bundle": "^3.2",
1719
"symfony/apache-pack": "^1.0",
1820
"symfony/console": "7.4.*",
1921
"symfony/dotenv": "7.4.*",
@@ -33,6 +35,8 @@
3335
"codeception/codeception": "^5.3",
3436
"codeception/module-asserts": "^3.2",
3537
"codeception/module-doctrine": "^3.3",
38+
"codeception/module-phpbrowser": "^4.0",
39+
"codeception/module-rest": "^3.4",
3640
"codeception/module-symfony": "^3.8 | *@dev",
3741
"doctrine/doctrine-fixtures-bundle": "^4.3",
3842
"friendsofphp/php-cs-fixer": "^3.94",
@@ -104,7 +108,8 @@
104108
],
105109
"post-create-project-cmd": [
106110
"@php bin/console doctrine:schema:update --force",
107-
"@php bin/console doctrine:fixtures:load --quiet"
111+
"@php bin/console doctrine:fixtures:load --quiet",
112+
"@php bin/console lexik:jwt:generate-keypair"
108113
]
109114
},
110115
"conflict": {

0 commit comments

Comments
 (0)