forked from composer/composer
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (30 loc) · 1.03 KB
/
Copy pathautoloader.yml
File metadata and controls
39 lines (30 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: "Autoloader"
on:
push:
paths-ignore:
- 'doc/**'
pull_request:
paths-ignore:
- 'doc/**'
permissions:
contents: read
jobs:
tests:
name: "Autoloader"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: "Install Composer dependencies"
run: "composer config platform --unset && composer install"
- name: "Dump autoloader in the test directory using latest Composer"
run: "./bin/composer install -d tests/Composer/Test/Autoload/MinimumVersionSupport"
- name: "Install oldest supported PHP version for autoloader"
uses: shivammathur/setup-php@0f7f1d08e3e32076e51cae65eb0b0c871405b16e # 2.34.1
with:
coverage: "none"
extensions: "intl, zip"
ini-values: "memory_limit=-1"
php-version: "5.6"
- name: "Check the autoloader can be executed"
run: "php main.php"
working-directory: tests/Composer/Test/Autoload/MinimumVersionSupport