Commit graph

20 commits

Author SHA1 Message Date
Yassine Guedidi
f2d5895801 Add phpstan recipe 2024-11-19 01:14:57 +01:00
Yassine Guedidi
5c0266e818 Add fix-cs recipe 2024-11-19 01:14:57 +01:00
Yassine Guedidi
6f40edb1c7 Run php and yarn from Docker container if it's running 2024-11-19 01:14:55 +01:00
Yassine Guedidi
01b503d1da Remove test command from output like other recipes 2024-11-18 23:53:09 +01:00
Yassine Guedidi
99ad390144 Move loading fixtures to the bootstrap file 2024-01-09 08:11:16 +01:00
Yassine Guedidi
4a4b584a46 Move prepare database commands to the bootstrap file 2024-01-09 08:11:16 +01:00
Yassine Guedidi
c35aa64079 Move prepare database commands to CI workflow 2024-01-09 08:11:16 +01:00
Yassine Guedidi
3e403b84d3 Move tests cache clean to the bootstrap file 2024-01-09 08:11:16 +01:00
Yassine Guedidi
479cded7b4 Clean the tests cache only 2024-01-09 08:11:16 +01:00
Yassine Guedidi
15d5eb5e6a Use PHPUnit directly 2024-01-03 23:46:08 +01:00
Jeremy Benoist
8b9fd04c74
Add a new build to test when no database table prefix are defined
This is mostly to avoid further error when users don't defined a database table prefix. it's recommenced to define one anyway.

Also enable verbose migration so we'll be able to actually view SQL queries (and execution time).
2023-07-17 14:21:12 +02:00
Yassine Guedidi
7ae45e38aa Run tests without memory limit 2022-09-03 03:53:26 +02:00
Yassine Guedidi
ff8f4079ea Disable XDebug in test make recipe 2022-05-03 06:39:37 +02:00
Jeremy Benoist
21fb69fa12
Update assets
Use yarn as we are `yarn.lock` and not `package-lock.json` (so cleanup `scripts`).
2020-10-08 10:08:51 +02:00
Simounet
33e3eeaec8
Load custom.css only if exists 2020-02-07 13:21:48 +01:00
Jeremy Benoist
29f5515959
Improve check by using list
See https://stackoverflow.com/a/27335439/569101
2020-01-13 15:58:59 +01:00
Jeremy Benoist
49eb5405de
Ensure ENV is well defined when using make
This command should fail before calling other commands (which will fail to because the environment is wrong):

```
ENV=toto make install
```
2020-01-13 14:26:10 +01:00
Luc Didry
7a4c375ebf
Allow custom styles system wide
Should fix #4060
2019-10-11 10:40:25 +02:00
Olivier Mehani
b1574a3987
Make dev depend on build
Also, run `npm install` before building.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-08-29 21:27:56 +10:00
Olivier Mehani
681e04b060
Makefile fixes for non GNU systems
* Move `Makefile` to `GNUmakefile`, which GNU `make` picks first
* Add `Makefile` so other `make`s forward to `gmake`
* Set the `SHELL` variable and let `make` handle the shell

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2018-08-18 18:50:18 +10:00