mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-14 17:16:12 +01:00
Commit graph

21 commits

Author SHA1 Message Date
Oliver Klee
3b4b544e2c
[TASK] Switch the coverage on CI from Xdebug to PCOV (#648)
This greatly improves performance.

Also make the Composer version in the Coverage CI job less specific.
2022-10-18 19:38:45 +02:00
Oliver Klee
14c804b209
[TASK] Drop support for PHP 7.2 and 7.3 (#581)
Also sync the test matrices of the `predefined` CI jobs with those
from the Composer-script-driven CI jobs.

This change does not add any 7.4-only PHP language features.

Fixes #577
2022-09-22 11:49:45 +02:00
Oliver Klee
e135cc244a
[TASK] Upgrade the functional tests on CI to Ubuntu 22.04 (#573)
Fixes #173
2022-09-21 16:54:21 +02:00
Oliver Klee
b5ea8e651c
[TASK] Stop using the typo3/minimal package on CI (#520)
The `typo3/minimal` package is not maintained very much, and currently
cannot be used as a requirement to install the latest TYPO3 development
version (as it still depends on `dev-master`, not on `dev-main`).

In addition, not depending on it will allow us to find any missing
dependencies in our requirements that so far have been masked by
the `typo3/minimal` dependencies.
2022-08-28 11:08:47 +02:00
Oliver Klee
75ae59b28a
[TASK] Update to Composer 2.4 (#513)
Now that Composer 2.4 has had its first point release, we can safely
upgrade from 2.3 to 2.4 in the DDEV configuration and the CI pipeline.
2022-08-27 18:53:54 +02:00
Oliver Klee
af0d77a7aa
[BUGFIX] Treat PHP versions in the GitHub CI configuration as strings (#459)
PHP version numbers need to be strings: If the version `8.0` were
treated as a number, the YAML parser would happily convert it to `8`,
hence dropping the minor version number.
2022-06-15 18:22:18 +02:00
Oliver Klee
029d402954
[TASK] Switch the code coverage collection on CI from 10LTS to 11LTS (#437) 2022-04-29 14:27:22 +02:00
Oliver Klee
2e31910c61
[FEATURE] Use Coveralls for the code coverage (#425)
Fixes #345
Closes #400
2022-04-15 18:47:18 +02:00
Oliver Klee
0a634def2d
[TASK] Sync the GitHub Actions job definitions (#424)
Having a consistent structure and order between the CI jobs and the
code coverage generation job makes understanding the GitHub Actions
configuration easier.

It also allows having a shared Composer cache between the non-coverage
jobs and the coverage job.
2022-04-15 14:35:33 +02:00
Oliver Klee
65c59cee1c
[TASK] Run unit tests before functional tests for coverage (#431)
We generally should run the faster tests first so that any possible
breakage occurs as soon as possible, hence providing faster feedback.
2022-04-14 18:13:33 +02:00
Oliver Klee
a85d14b976
[TASK] Upgrade to Composer 2.3.0 (#416) 2022-04-13 16:15:13 +02:00
Oliver Klee
a98d32fdae
[TASK] Move the coverage directories (#427)
There is no need to have the code coverage data directly generated by
the tests run in a non-hidden directory. So now the code coverage is
recorded within `.Build/coverage`.

Only the merged coverage data still needs to be located in `build/logs`
as Coveralls (which we're planning to use) relies on this.
2022-04-13 16:14:25 +02:00
Oliver Klee
827337bdda
[CLEANUP] Always use name as first key for GitHub Action steps (#423) 2022-04-12 22:27:14 +02:00
Oliver Klee
7a813998b6 Revert "[TASK] Bump the code coverage generation to TYPO3 11LTS and PHP 8.1 (#417)"
This reverts commit fd2e9213ab.
2022-04-06 19:45:56 +02:00
Oliver Klee
fd2e9213ab
[TASK] Bump the code coverage generation to TYPO3 11LTS and PHP 8.1 (#417)
We should use the latest TYPO3 and PHP versions for code coverage
generation.
2022-04-06 19:39:58 +02:00
Oliver Klee
77b49997a4
[TASK] Upgrade the CI cache action (#412) 2022-04-03 02:26:04 +02:00
Oliver Klee
b9cfab39cc
[TASK] Upgrade the git checkout on CI to actions/checkout@v3 (#402) 2022-03-22 17:57:39 +01:00
Oliver Klee
6b98478f58
[TASK] Make the Composer caches on CI more fine-grained (#393)
The installed Composer packages will be different depending on the
major TYPO3 version being tested and on the strategy for the
dependencies (highest, lowest). So it makes sense to have
separate Composer caches for these versions in order to avoid
cache misses.
2022-02-24 16:41:34 +01:00
Oliver Klee
07ff094028
[TASK] Use Composer 2.2 in the CI pipeline (#362)
With the releases of Composer 2.2.2 and 2.2.3 (and PHPUnit 9.5.11),
running the tests with Composer 2 in the pipeline should be safe afain.
2022-01-02 02:23:40 +01:00
Oliver Klee
feaf6f2fc9
[BUGFIX] Pin Composer to version 2.1.x (#352)
Composer versions 2.2.0 and 2.2.1 have a bug that breaks PHPUnit.
Until version 2.2.2 is released with a fix, we need to keep to
Composer 2.1 to keep the tests from breaking.

See https://github.com/composer/composer/issues/10387 for details.
2021-12-24 02:15:42 +01:00
Łukasz Uznański
9bf78a580b
[FEATURE] Calculate code coverage (#266) 2021-10-06 16:23:35 +02:00