Skip to content

Commit 3f30542

Browse files
committed
Changed name for YAML tests
1 parent c6d69db commit 3f30542

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/yaml_test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PHP integration tests
1+
name: PHP YAML tests
22

33
on: [push, pull_request]
44

@@ -12,6 +12,7 @@ jobs:
1212
php-version: [8.1, 8.2, 8.3, 8.4]
1313
os: [ubuntu-latest]
1414
es-version: [9.0.0-SNAPSHOT]
15+
test-suite: [stack]
1516

1617
steps:
1718
- name: Checkout
@@ -44,7 +45,12 @@ jobs:
4445
run: |
4546
curl -fsSL https://elastic.co/start-local | sh -s -- -v ${{ matrix.es-version }} -esonly
4647
48+
- name: Build PHPUnit tests
49+
run: |
50+
git clone https://github.com/elastic/elasticsearch-clients-tests.git tests/elasticsearch-clients-tests
51+
php tests/build_es_tests.php tests/elasticsearch-clients-tests/tests ${{ matrix.test-suite }} tests/Yaml
52+
4753
- name: YAML tests
4854
run: |
4955
source elastic-start-local/.env
50-
ELASTICSEARCH_URL="http://elastic:${ES_LOCAL_PASSWORD}@localhost:9200" TEST_SUITE="platinum" composer run-script integration-test
56+
ELASTICSEARCH_URL="http://elastic:${ES_LOCAL_PASSWORD}@localhost:9200" vendor/bin/phpunit -c "phpunit-yaml-${{ matrix.test-suite }}-tests.xml"

0 commit comments

Comments
 (0)