@@ -134,66 +134,69 @@ jobs:
134134 - name : Code coverage
135135 run : cat var/coverage.txt
136136
137- phpunit-lowest :
138- name : " PHPUnit (Lowest dependencies)"
139-
140- runs-on : ubuntu-latest
141- services :
142- database :
143- image : postgres:16-alpine
144- ports :
145- - " 5432:5432"
146- env :
147- POSTGRES_DB : dirigent_test
148- POSTGRES_PASSWORD : " !ChangeMe!"
149- POSTGRES_USER : dirigent
150-
151- steps :
152- - name : Checkout code
153- uses : actions/checkout@v4
154-
155- - name : Install PHP with extensions
156- uses : shivammathur/setup-php@v2
157- with :
158- php-version : 8.3
159- tools : composer:v2
160-
161- - name : Set Composer cache directory
162- id : composer-cache
163- run : echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
164-
165- - name : Cache Composer output
166- uses : actions/cache@v4
167- with :
168- path : ${{ steps.composer-cache.outputs.dir }}
169- key : ${{ runner.os }}-composer.lowest-${{ hashFiles('composer.lock') }}
170- restore-keys : ${{ runner.os }}-composer.lowest-
171-
172- - name : Install Composer dependencies (Lowest dependencies)
173- run : composer update --ansi --no-interaction --no-progress --prefer-lowest
174-
175- - name : Install Node
176- uses : actions/setup-node@v4
177- with :
178- node-version : 23.x
179-
180- - name : Install NPM dependencies
181- run : npm ci
182-
183- - name : Build assets
184- run : npm run build
185-
186- - name : Generate encryption keys
187- run : bin/console encryption:generate-keys
188-
189- - name : Create database schema
190- run : bin/console doctrine:schema:create --env=test
191-
192- - name : Load database fixtures
193- run : bin/console doctrine:fixtures:load --env=test --no-interaction
194-
195- - name : PHPUnit version
196- run : bin/phpunit --version
197-
198- - name : Run PHPUnit
199- run : bin/phpunit --coverage-text ${{ env.PHPUNIT_FLAGS }}
137+ # The tests covering the lowest Composer dependencies are disabled since this is not a library, and we expect
138+ # users to follow the locked Composer dependencies as specified in this repository.
139+ #
140+ # phpunit-lowest:
141+ # name: "PHPUnit (Lowest dependencies)"
142+ #
143+ # runs-on: ubuntu-latest
144+ # services:
145+ # database:
146+ # image: postgres:16-alpine
147+ # ports:
148+ # - "5432:5432"
149+ # env:
150+ # POSTGRES_DB: dirigent_test
151+ # POSTGRES_PASSWORD: "!ChangeMe!"
152+ # POSTGRES_USER: dirigent
153+ #
154+ # steps:
155+ # - name: Checkout code
156+ # uses: actions/checkout@v4
157+ #
158+ # - name: Install PHP with extensions
159+ # uses: shivammathur/setup-php@v2
160+ # with:
161+ # php-version: 8.3
162+ # tools: composer:v2
163+ #
164+ # - name: Set Composer cache directory
165+ # id: composer-cache
166+ # run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
167+ #
168+ # - name: Cache Composer output
169+ # uses: actions/cache@v4
170+ # with:
171+ # path: ${{ steps.composer-cache.outputs.dir }}
172+ # key: ${{ runner.os }}-composer.lowest-${{ hashFiles('composer.lock') }}
173+ # restore-keys: ${{ runner.os }}-composer.lowest-
174+ #
175+ # - name: Install Composer dependencies (Lowest dependencies)
176+ # run: composer update --ansi --no-interaction --no-progress --prefer-lowest
177+ #
178+ # - name: Install Node
179+ # uses: actions/setup-node@v4
180+ # with:
181+ # node-version: 23.x
182+ #
183+ # - name: Install NPM dependencies
184+ # run: npm ci
185+ #
186+ # - name: Build assets
187+ # run: npm run build
188+ #
189+ # - name: Generate encryption keys
190+ # run: bin/console encryption:generate-keys
191+ #
192+ # - name: Create database schema
193+ # run: bin/console doctrine:schema:create --env=test
194+ #
195+ # - name: Load database fixtures
196+ # run: bin/console doctrine:fixtures:load --env=test --no-interaction
197+ #
198+ # - name: PHPUnit version
199+ # run: bin/phpunit --version
200+ #
201+ # - name: Run PHPUnit
202+ # run: bin/phpunit --coverage-text ${{ env.PHPUNIT_FLAGS }}
0 commit comments