Skip to content

Commit 11664b9

Browse files
committed
Add inotify for tests
1 parent e12615e commit 11664b9

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/integrate.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: "phpDocumentor/.github/.github/workflows/code-coverage.yml@v0.8"
1818
with:
1919
php-version: "8.2"
20-
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, iconv"
20+
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, iconv, inotify"
2121

2222
coding-standards:
2323
name: "Coding Standards"
@@ -30,7 +30,7 @@ jobs:
3030
uses: "shivammathur/setup-php@v2"
3131
with:
3232
coverage: "none"
33-
extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, iconv"
33+
extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, iconv, inotify"
3434
php-version: "8.2"
3535
tools: "cs2pr"
3636

@@ -47,15 +47,15 @@ jobs:
4747
uses: "phpDocumentor/.github/.github/workflows/lint.yml@main"
4848
with:
4949
composer-options: "--no-check-publish --ansi"
50-
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, iconv"
50+
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, iconv, inotify"
5151
php-version: "8.2"
5252

5353
static-analysis:
5454
name: "Static analysis"
5555
uses: "phpDocumentor/.github/.github/workflows/static-analysis.yml@v0.8"
5656
with:
5757
php-version: "8.2"
58-
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, iconv"
58+
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, iconv, inotify"
5959
composer-root-version: "1.x-dev"
6060

6161
architecture:
@@ -68,7 +68,7 @@ jobs:
6868
with:
6969
coverage: "none"
7070
php-version: "8.2"
71-
extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, iconv"
71+
extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, iconv, inotify"
7272

7373
- name: "Install dependencies with Composer"
7474
uses: "ramsey/composer-install@v3"
@@ -84,15 +84,15 @@ jobs:
8484
uses: "phpDocumentor/.github/.github/workflows/continuous-integration.yml@v0.8"
8585
with:
8686
composer-root-version: "1.x-dev"
87-
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, iconv"
87+
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, iconv, inotify"
8888

8989
functional-tests:
9090
name: "Functional test"
9191
uses: "phpDocumentor/.github/.github/workflows/continuous-integration.yml@v0.8"
9292
needs: "unit-tests"
9393
with:
9494
test-suite: "functional"
95-
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, iconv"
95+
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, iconv, inotify"
9696
composer-root-version: "1.x-dev"
9797

9898
integration-tests:
@@ -101,7 +101,7 @@ jobs:
101101
needs: "unit-tests"
102102
with:
103103
test-suite: "integration"
104-
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, iconv"
104+
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, iconv, inotify"
105105
composer-root-version: "1.x-dev"
106106

107107
xml-lint:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PHP_BIN = docker run -it --rm --user $$(id -u):$$(id -g) -v${PWD}:/opt/project -w /opt/project php:8.2-cli php -d memory_limit=1024M
1+
PHP_BIN = docker run -it --rm --user $$(id -u):$$(id -g) -v${PWD}:/opt/project -w /opt/project php:8.4-cli php -d memory_limit=1024M
22
PHP_DOC = docker run --rm -v ${PWD}:/data -w /data phpdoc/phpdoc:3-unstable
33

44
.PHONY: help

0 commit comments

Comments
 (0)