Skip to content

Commit 8376744

Browse files
committed
[Translator] Add PHP tests in CI
[Translator] Add PHP tests in CI
1 parent 735e5a3 commit 8376744

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/test.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,15 @@ jobs:
164164
working-directory: src/Autocomplete
165165
run: php vendor/bin/simple-phpunit
166166

167+
- name: Translator Dependencies
168+
uses: ramsey/composer-install@v2
169+
with:
170+
working-directory: src/Translator
171+
dependency-versions: lowest
172+
- name: Translator Tests
173+
run: php vendor/bin/simple-phpunit
174+
working-directory: src/Translator
175+
167176
tests-php-high-deps:
168177
runs-on: ubuntu-latest
169178
steps:
@@ -261,6 +270,14 @@ jobs:
261270
- name: Notify Tests
262271
working-directory: src/Notify
263272
run: php vendor/bin/simple-phpunit
273+
274+
- name: Translator Dependencies
275+
uses: ramsey/composer-install@v2
276+
with:
277+
working-directory: src/Translator
278+
- name: Translator Tests
279+
working-directory: src/Translator
280+
run: php vendor/bin/simple-phpunit
264281

265282
tests-js:
266283
runs-on: ubuntu-latest

src/Translator/tests/Kernel/FrameworkAppKernel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public function registerContainerConfiguration(LoaderInterface $loader)
4040
'translator' => [
4141
'fallbacks' => ['en'],
4242
],
43+
'http_method_override' => false,
4344
]);
4445
});
4546
}

0 commit comments

Comments
 (0)