File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 1
1
ARG PHP_VERSION=7.4-cli
2
2
FROM php:${PHP_VERSION}
3
3
4
- ARG STACK_VERSION
5
- ARG TEST_SUITE
6
-
7
4
WORKDIR /usr/src/app
8
5
9
6
# Install git
@@ -40,7 +37,4 @@ COPY . .
40
37
# Updating elasticsearch submodule
41
38
RUN git submodule update --init --recursive
42
39
43
- # Generating the YAML tests
44
- RUN php util/build_tests.php ${STACK_VERSION} ${TEST_SUITE}
45
-
46
40
CMD ["bash" , ".ci/yaml-tests.sh" ]
Original file line number Diff line number Diff line change @@ -26,8 +26,6 @@ docker build \
26
26
--file .ci/Dockerfile \
27
27
--tag elastic/elasticsearch-php \
28
28
--build-arg PHP_VERSION=${PHP_VERSION} \
29
- --build-arg STACK_VERSION=${STACK_VERSION} \
30
- --build-arg TEST_SUITE=${TEST_SUITE} \
31
29
.
32
30
33
31
echo -e " \033[1m>>>>> Run test:integration >>>>>>>>>>>>>>>>>>>>>>>>>>>>>\033[0m"
Original file line number Diff line number Diff line change 3
3
# Checkout the YAML test from Elasticsearch tag
4
4
php util/RestSpecRunner.php
5
5
6
+ # Generate the YAML tests for PHPUnit
7
+ php util/build_tests.php ${STACK_VERSION} ${TEST_SUITE}
8
+
6
9
# Run YAML tests
7
10
vendor/bin/phpunit -c " phpunit-yaml-${TEST_SUITE} -tests.xml"
You can’t perform that action at this time.
0 commit comments