Skip to content

Commit beb5269

Browse files
committed
test: disable lowest-dependency job in CI, as we have no runtime deps
1 parent d7dff96 commit beb5269

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -136,40 +136,3 @@ jobs:
136136
with:
137137
name: 'PHP ${{ matrix.php }}'
138138
path: 'clover.xml'
139-
140-
unit-lowest:
141-
name: 'Run unit tests with lowest-matching dependencies versions'
142-
if: "!contains(github.event.commits[0].message, '[skip ci]') && !contains(github.event.commits[0].message, '[ci skip]')"
143-
runs-on: 'ubuntu-20.04'
144-
145-
steps:
146-
- name: 'Checkout current revision'
147-
uses: 'actions/checkout@v3'
148-
149-
- name: 'Setup PHP'
150-
uses: 'shivammathur/setup-php@v2'
151-
with:
152-
php-version: '7.4'
153-
tools: 'composer'
154-
155-
- name: 'Discover Composer cache directory'
156-
id: 'cachedir'
157-
run: 'echo "::set-output name=path::$(composer global config cache-dir)"'
158-
159-
- name: 'Share Composer cache across runs'
160-
uses: 'actions/cache@v3'
161-
with:
162-
path: '${{ steps.cachedir.outputs.path }}'
163-
key: "composer-lowest-${{ hashFiles('**/composer.json') }}"
164-
restore-keys: |
165-
composer-lowest-
166-
composer-
167-
168-
- name: 'Update dependencies with Composer'
169-
run: 'composer update --prefer-lowest --prefer-dist --no-interaction'
170-
171-
- name: 'Dump Composer autoloader'
172-
run: 'composer dump-autoload --classmap-authoritative --no-cache'
173-
174-
- name: 'Run PHPUnit'
175-
run: 'vendor/bin/phpunit'

0 commit comments

Comments
 (0)