File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
- name : PHP integration tests
1
+ name : PHP YAML tests
2
2
3
3
on : [push, pull_request]
4
4
12
12
php-version : [8.1, 8.2, 8.3, 8.4]
13
13
os : [ubuntu-latest]
14
14
es-version : [9.0.0-SNAPSHOT]
15
+ test-suite : [stack]
15
16
16
17
steps :
17
18
- name : Checkout
44
45
run : |
45
46
curl -fsSL https://elastic.co/start-local | sh -s -- -v ${{ matrix.es-version }} -esonly
46
47
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
+
47
53
- name : YAML tests
48
54
run : |
49
55
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"
You can’t perform that action at this time.
0 commit comments