mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 00:36:13 +01:00
Commit graph

152 commits

Author SHA1 Message Date
Łukasz Uznański
37d919831d
[TASK] Migrate PHP CS Fixer check to GitHub Actions (#223) 2021-04-05 16:50:16 +02:00
Oliver Klee
9c36f05e3e
[CLEANUP] Rename the CS fixer composer script (#227)
Also sort the style checks in the GitHub Actions run.

Also improve some headings in the README.
2021-03-30 00:55:20 +02:00
Łukasz Uznański
0b3527c125
[TASK] Migrate copy'n'paste detector to GitHub actions (#222)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-03-27 18:17:40 +01:00
Łukasz Uznański
c530a1f20d
[TASK] Migrate to YAML linter GitHub actions (#221) 2021-03-27 18:09:55 +01:00
Łukasz Uznański
1e2c383fa0
[TASK] Migrate TypoScript linting to a GitHub action (#220) 2021-03-22 12:34:55 +01:00
Oliver Klee
db1080b119
[FEATURE] Add type checking via PHPStan (#218) 2021-03-17 01:08:40 +01:00
Oliver Klee
e51dad6aea
[BUGFIX] Downgrade the XLIFF files to version 1.0 (#206)
This now matches what the TYPO3 Core uses.

We still use the XLIFF 1.2 schema for validation as version 1.2
is the first fully ratified version.

Closes #198
2021-02-24 19:04:30 +01:00
Oliver Klee
73a27f7306
[TASK] Always run all CI jobs (#205)
Even if a job fails with e.g., a certain PHP version, we still want to
know if it succeeds with which other PHP versions.
2021-02-24 12:24:52 +01:00
Łukasz Uznański
2aae18c2b1
[FEATURE] Add TER release via github actions (#189)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-02-22 16:59:15 +01:00
Łukasz Uznański
3a086c5552
Add composer normalize phive (#193) 2021-02-18 10:44:35 +01:00
Oliver Klee
12ec05cfa1
[BUGFIX] Also run the CI for PRs against maintenance branches (#187) 2021-01-15 17:13:51 +01:00
Oliver Klee
5ec57829e4
[BUGFIX] Fix the Composer cache directory in the CI configuration (#186)
Fixes #184
2021-01-09 23:46:04 +01:00
Oliver Klee
e319c78fd1
[BUGFIX] Disable Xdebug in the CI build (#185)
This avoid problems with Xdebug 3 (the version that now automatically
gets installed).

It also should speed up the build a bit.
2021-01-06 13:06:39 +01:00
Oliver Klee
2344557abc
[CLEANUP] Autoformat all files (#175)
This will reduce unrelated autoformatting changes in other commits
(and it also makes the code more readable).
2020-12-01 23:12:34 +01:00
Oliver Klee
1d81f981f9
[BUGFIX] Fix cache keys for the Composer cache in GitHub Actions (#174)
The key must not be split across multiple lines.
2020-11-29 15:04:50 +01:00
Oliver Klee
f9aac63ae7
[BUGFIX] Explicitly set the Ubuntu version for GitHub Actions (#162)
This fixes a warning when running the CI build.

As the functional tests currently do not run with the Ubuntu 20.04
runner, we need to keep using 18.04.

Also explicitly require the `mysqli` PHP extension.
2020-11-27 01:41:24 +01:00
Oliver Klee
a9026832d6
[CLEANUP] Explicitly set the Ubuntu version for most CI steps (#172) 2020-11-24 20:36:29 +01:00
Oliver Klee
b4936ebb6a
[BUGFIX] Fix the CI build with the lowest dependencies (#170)
- fix a syntax error in the `ci.yml`
- also update/downgrade transitive dependencies
- add a conflict with broken versions of typo3/class-alias-loader
- use a Composer-2-compatible version of `helhum/typo3-composer-setup`
- start running the unit and functional tests with the lowest
  dependencies on GitHub Actions

Fixes #50
2020-11-24 02:14:15 +01:00
Oliver Klee
bc21852ba0
[CLEANUP] Consistently quote all CI step names for GitHub actions (#168) 2020-11-24 02:08:42 +01:00
Oliver Klee
898819d468
[TASK] Explicitly use Composer 2 on GitHub actions (#169) 2020-11-24 02:07:55 +01:00
Oliver Klee
a8e78e39b3
[TASK] Stop displaying a progress bar during composer require (#167)
Progress bars do not make sense when the output is logged
(like on GitHub actions).
2020-11-24 02:02:32 +01:00
Łukasz Uznański
ddecb3009f
[FEATURE] Add phpcpd (#149)
Resolves: #129
2020-11-21 18:21:09 +01:00
Oliver Klee
091e00e478
[FEATURE] Also run the CI build once a week (#160)
This will allow us to catch problems with dependencies or
the build environment, i.e., problems that are not related
to changes in our code base.
2020-11-21 17:58:35 +01:00
Oliver Klee
6d50a29034
[TASK] Smoothen the way to Composer 2 (#152)
- drop the `--no-suggest` option that was deprecated in Composer 2
- output the Composer version to make debugging problems easier
2020-10-31 19:18:59 +01:00
Łukasz Uznański
d4ec80de29
[FEATURE] Add frontend linting (#120)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
Co-authored-by: Oliver Klee <typo3-coding@oliverklee.de>
2020-10-31 15:04:44 +01:00
Oliver Klee
ab7e5c45f5
[BUGFIX] Drop a surplus hyphen in the CI step definitions (#153) 2020-10-31 12:38:41 +01:00
Oliver Klee
3cc4abb092
[TASK] Switch the default branch from master to main (#117)
Also update URLs to other repositories that also have done
the switch.
2020-10-10 14:02:59 +02:00
Łukasz Uznański
0338647e34
[TASK] Remove security checker (#111)
Resolves: #110
2020-10-07 14:10:44 +02:00
Łukasz Uznański
c495b03267
[TASK] Download xliff schema during CI instead of keeping it in repository (#95)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-09-04 20:39:06 +02:00
Łukasz Uznański
78c45b1341
[TASK] Reduce GitHub actions builds (#86)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-08-25 17:06:41 +02:00
Łukasz Uznański
ee7e76e18f
[TASK] Add PHP YAML lint instead of GitHub action (#84)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-08-05 13:49:10 +02:00
Łukasz Uznański
dc3f774966
[FEATURE] Add security check (#78)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-08-05 11:49:53 +02:00
Łukasz Uznański
e10161203e
[TASK] Run dynamic tests only if PHP lint succeds (#85)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.pl>
2020-08-05 11:40:46 +02:00
Łukasz Uznański
46e598e7e1
[TASK] Enable tests in t3 v10 (#77)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.pl>
2020-07-23 12:41:27 +02:00
Łukasz Uznański
ea4456ee97
[TASK] Bump php version in linting actions (#79)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.pl>
2020-07-23 12:39:02 +02:00
Łukasz Uznański
58b2346db5
[TASK] Bump version of checkout action (#75)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.pl>
2020-07-22 12:38:58 +02:00
Łukasz Uznański
4be996d822
[TASK] Add json lint (#62)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.pl>
2020-07-21 12:59:26 +02:00
Łukasz Uznański
b3b09050ca
[TASK] Add yaml lint (#59)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-07-09 13:17:33 +02:00
Łukasz Uznański
0cd15131a3
[FEATURE] Add phpcs fixer (#60)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-07-08 17:41:07 +02:00
Łukasz Uznański
c38b8fc3e4
[CLEANUP ] Clean up yaml files (#72)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-07-08 16:53:59 +02:00
Łukasz Uznański
da2be7411a
[TASK] Add xliff lint (#61)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-07-08 16:53:12 +02:00
Łukasz Uznański
f34cfb701b
[CLEANUP] Fix yaml files (#70)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-07-07 16:33:34 +02:00
Oliver Klee
95a0d58416
[TASK] Use a matrix for the configuring the code quality checks (#65)
This reduces code duplication in the CI configuration file.

Fixes #63
2020-06-24 15:31:29 +02:00
Oliver Klee
74813e9a0c
[FEATURE] Run the functional tests via GitHub Actions (#55) 2020-06-06 23:09:20 +02:00
Oliver Klee
59384b3d68
[TASK] Disable running with lower dependencies on GitHub actions (#54)
This currently is broken, and we need to find the cause and fix it
first.

In the meantime, disable this so the build is green again.
2020-05-25 07:50:53 +02:00
Oliver Klee
b8cf63d358
[BUGFIX] Use the PHP version from the matrix in the CI (#48)
For GitHub actions, an explicit step is required to use a
specific PHP version. If this is not done, a default version
will be used (which makes the builds unpredictable).
2020-05-22 11:38:45 +02:00
Andreas Wolf
15aa3c1cb1 [TASK] Run tests with lowest/highest dependency versions (#40) 2019-12-07 19:20:34 +01:00
Andreas Wolf
9be1c23798 [TASK] Move unit test run to GitHub actions (#38) 2019-12-07 19:00:51 +01:00
Andreas Wolf
cef4baddbc [TASK] Cache Composer dependencies during build (#36)
Also fix the name of TS the lint step.
2019-12-07 18:10:51 +01:00
Andreas Wolf
073c03137d [TASK] Move TypoScript linting to GitHub actions (#32) 2019-12-07 17:00:49 +01:00
Andreas Wolf
f5cd65ec94 [TASK] Move PHP code sniffing to GitHub actions (#30)
Resolves: #13
2019-12-07 16:37:17 +01:00
Andreas Wolf
42cd42cb00 [TASK] Move PHP linting to GitHub actions (#28) 2019-12-07 16:00:06 +01:00