File tree Expand file tree Collapse file tree 5 files changed +43
-2
lines changed
Expand file tree Collapse file tree 5 files changed +43
-2
lines changed Original file line number Diff line number Diff line change 1+ FROM php:8.4-cli-alpine
2+
3+ COPY ./../.. /usr/src/myapp
4+ WORKDIR /usr/src/myapp
5+
6+ RUN apk --no-cache add curl zip
7+ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
8+ RUN composer install
Original file line number Diff line number Diff line change 1717<a href =" https://github.com/rboonzaijer/php-array-to-xml/actions/workflows/tests.yml " ><img src =" https://shields.io/badge/style-8.1-green?label=php&style=flat-square " ></a >
1818<a href =" https://github.com/rboonzaijer/php-array-to-xml/actions/workflows/tests.yml " ><img src =" https://shields.io/badge/style-8.2-green?label=php&style=flat-square " ></a >
1919<a href =" https://github.com/rboonzaijer/php-array-to-xml/actions/workflows/tests.yml " ><img src =" https://shields.io/badge/style-8.3-green?label=php&style=flat-square " ></a >
20+ <a href =" https://github.com/rboonzaijer/php-array-to-xml/actions/workflows/tests.yml " ><img src =" https://shields.io/badge/style-8.4-green?label=php&style=flat-square " ></a >
2021
2122</p >
2223
Original file line number Diff line number Diff line change 1- version : " 3"
2-
31services :
42
3+ php8.4 :
4+ build :
5+ context : .
6+ dockerfile : .docker/Dockerfile-php8.4
7+
58 php8.3 :
69 build :
710 context : .
Original file line number Diff line number Diff line change @@ -7,4 +7,5 @@ docker compose run --rm php8.0 php ./vendor/bin/phpunit -c tests/phpunit-8.0.xml
77docker compose run --rm php8.1 php ./vendor/bin/phpunit -c tests/phpunit-8.1.xml && \
88docker compose run --rm php8.2 php ./vendor/bin/phpunit -c tests/phpunit-8.2.xml && \
99docker compose run --rm php8.3 php ./vendor/bin/phpunit -c tests/phpunit-8.3.xml && \
10+ docker compose run --rm php8.4 php ./vendor/bin/phpunit -c tests/phpunit-8.4.xml && \
1011echo -e " \n\ndone.\n"
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!-- PHPUnit 10 >= PHP 8.1 (https://phpunit.de/supported-versions.html) -->
3+ <phpunit
4+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5+ backupGlobals =" false"
6+ bootstrap =" ./../vendor/autoload.php"
7+ colors =" true"
8+ processIsolation =" false"
9+ stopOnFailure =" false"
10+ cacheResult =" false"
11+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.5/phpunit.xsd"
12+ cacheDirectory =" .phpunit.cache"
13+ backupStaticProperties =" false" >
14+ <testsuites >
15+ <testsuite name =" PhpArrayToXml Test Suite" >
16+ <directory >./../tests/</directory >
17+ </testsuite >
18+ </testsuites >
19+ <source >
20+ <include >
21+ <directory >./../src</directory >
22+ </include >
23+ <exclude >
24+ <directory >./../vendor</directory >
25+ <directory >./../tests</directory >
26+ </exclude >
27+ </source >
28+ </phpunit >
You can’t perform that action at this time.
0 commit comments