Repository navigation
Commit f9d152a
committed
Run the E2E test scenarios as bashunit tests, sharded across runners
Each script of the E2E workflow matrix becomes a bashunit test function
next to its fixture, in e2e/<dir>/<dir>_test.sh. bashunit collects them,
and --shard spreads them over a few jobs: the result cache tests run in
4 jobs instead of 118, the other E2E tests in 2 shards plus 9 single-test
rows that need a PHP setup of their own (instead of 47 jobs), and the
Windows result cache tests in 1 job instead of 5. Tags pick the pool:
result-cache tests need the patched Error.php, own-setup tests keep their
own matrix row, windows tests run on windows-latest.
.bashunitrc turns on strict mode, so a failing command fails the test as
it failed the step before, and loads e2e/bootstrap.sh: a test runs in its
fixture directory, with a TMPDIR of its own, and the directory is put
back once the test ends. Several tests share and change one directory,
and each of them used to start on a fresh checkout.
Run them locally from the repository root: e2e/bashunit test e2e
Amp-Thread-ID: https://ampcode.com/threads/T-01a1b596-a698-7607-9f34-a62afb8c47311 parent 702f3b0 commit f9d152a
141 files changed
Lines changed: 4010 additions & 2169 deletions
File tree
- .github/workflows
- e2e
- bad-exclude-paths
- baseline-uninit-prop-trait
- bootstrap-autoloader-wrong-file
- bug-10483
- bug-11359
- bug-11819
- bug-11826
- bug-11857
- bug-12606
- bug-12972b
- bug-12972c
- bug-14036
- bug-14093
- bug-14305
- bug-14514
- bug-14718
- bug-14724
- bug-14932
- bug-15102b
- bug-15102c
- bug-15102
- bug-15120b
- bug-15120
- bug-15125
- bug-15150
- bug-15184
- bug-15231
- bug-15407
- bug-15475
- bug-15482b
- bug-9622-trait
- bug-9622
- bug10449b
- bug10449
- bug13425
- class-alias-loader
- composer-and-phpstan-version-config
- composer-max-version
- composer-min-max-version
- composer-min-open-end-version
- composer-min-version-v5
- composer-min-version-v7
- composer-min-version
- composer-no-versions
- composer-php-version-range-7-and-8
- composer-php-version-range-7
- composer-php-version-range-8-0
- composer-php-version-range-8-5
- composer-version-config-invalid
- composer-version-config-patch
- composer-version-config
- debug-class-loader
- discussion-11362
- editor-mode
- env-int-key
- env-parameter
- ext-ds-version
- fix-baseline
- fix-ignored-entries
- fix
- ignore-error-extension
- in-trait
- moved-phpstan-installation
- nested-trait-use
- only-files-not-analysed-trait
- oom-forked-worker
- parallel-worker-signal
- phpstan-phpunit-190
- report-ignores-without-comments
- repository-root
- result-cache-10
- result-cache-11
- result-cache-1
- result-cache-2
- result-cache-3
- result-cache-4
- result-cache-5
- result-cache-6
- result-cache-7
- result-cache-9
- result-cache-atomic-save
- result-cache-autoloaded-constant
- result-cache-autoloaded
- result-cache-bootstrap
- result-cache-ci-notification
- result-cache-collected-data-rules-tracking
- result-cache-collected-data-rules
- result-cache-collector-sweep
- result-cache-composer-json
- result-cache-composer-lock
- result-cache-constants
- result-cache-define-in-function
- result-cache-define
- result-cache-empty-file-gains-symbol
- result-cache-extension-attribute-services
- result-cache-extension-autoload-dev
- result-cache-extension-copied-package
- result-cache-extension-installer
- result-cache-extension-path-package-update
- result-cache-extension-path-package
- result-cache-extension-update
- result-cache-file-dependency
- result-cache-import-type-deleted
- result-cache-inner-function
- result-cache-internal-error
- result-cache-meta-extension-throw
- result-cache-meta-extension
- result-cache-moved-tmpdir
- result-cache-package-update
- result-cache-parse-error
- result-cache-path-repository
- result-cache-phar-bootstrap
- result-cache-placeholder-paths
- result-cache-relative-path
- result-cache-require-deleted
- result-cache-restore-without-reflection
- result-cache-scanned-2
- result-cache-scanned-exported-nodes
- result-cache-scanned-new-file
- result-cache-scanned-trait
- result-cache-scanned-vendor
- result-cache-scanned
- result-cache-stale-objects
- result-cache-string-class
- result-cache-stub-files-errors
- result-cache-trait-alongside-class
- result-cache-traits
- result-cache-truncated
- result-cache-value-dependency
- result-cache-vendor-class-appears
- result-cache-worker-count
- robot-loader
- statement-parameter
- stub-files-errors
- trait-caching
- vvv-with-debug
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments