Alexandre Alapetite
1d9d4e3e3c
Update dev dependencies ( #4993 )
...
Related to https://github.com/FreshRSS/FreshRSS/pull/4991
Required a few changes in code to pass the tests
2023-01-09 12:59:30 +01:00
Alexandre Alapetite
ea283a16fc
Update GitHub Actions version ( #4717 )
...
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
2022-10-12 13:00:11 +02:00
Alexandre Alapetite
f365a9aeb4
Update all test dependencies ( #4419 )
...
* Update all test dependencies
* Remove old false-positive
* Minor update lock files
* Increase PHPStan memory for Fedora
https://github.com/FreshRSS/FreshRSS/pull/4400#issuecomment-1159514197
* Require PHP8+ for tests
Due to small changes of signature in `ob_implicit_flush` and `simplexml_load_string`, cf. https://github.com/FreshRSS/FreshRSS/pull/4123
* Missing lint in CSS files
2022-06-19 20:08:42 +02:00
Alexandre Alapetite
7c74653cc2
Update markdownlint-cli dev dependency ( #4241 )
...
* Update markdownlint-cli dev dependency
And fix https://github.com/advisories/GHSA-6vfc-qv3f-vr6c
* npm ci
2022-02-28 20:50:39 +01:00
maTh
2fd8ce6867
Update tests.yml ( #4209 )
2022-02-07 13:41:30 +01:00
Alexandre Alapetite
4e2dff4591
Add spell checking with typos ( #4138 )
...
* Add spell checking with typos
Implement https://github.com/FreshRSS/FreshRSS/pull/4134#issuecomment-1008027558
* GitHub Actions attempt
* Quiet wget
* Makefile
2022-01-09 18:21:40 +01:00
Alexandre Alapetite
9dbbe924c5
Remove GitHub Action latest-tag ( #4135 )
...
Did not work, maybe due to bad configuration.
I am doing it manually for now.
Another option welcome
2022-01-08 21:59:10 +01:00
Alexandre Alapetite
77e9877316
Add PHPStan ( #4021 )
...
* Add PHPStan
#fix https://github.com/FreshRSS/FreshRSS/issues/4016
https://phpstan.org/
```sh
composer run-script phpstan
```
* More fixes
* Fix global variables
* Add .phtml
* Fix merge
https://github.com/FreshRSS/FreshRSS/pull/4090
* Fix more warnings
* Fix view errors and enable in CI
* ReturnTypeWillChange
* Dynamic view type
* Fix Minz static/self bug
2021-12-31 17:00:51 +01:00
Alexandre Alapetite
9e9a6c3838
GitHub Actions cleaner error output ( #3938 )
...
Silence irrelevant NPM errors when a test fails. See e.g. https://github.com/FreshRSS/FreshRSS/runs/3999501244?check_suite_focus=true
```text
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! freshrss@ markdownlint: `markdownlint '**/*.md'`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the freshrss@ markdownlint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/runner/.npm/_logs/2021-10-25T16_15_34_166Z-debug.log
```
2021-10-25 23:41:13 +02:00
Alexandre Alapetite
9416f45dd9
GitHub Actions CI optimisation ( #3929 )
...
Efforts to reduce the resources used by CI:
* Only one git checkout
* Exclusion of irrelevant directories for several commands
* Fix some rtlcss warnings
* Move some commands from tests.yml to composer.json to make them reusasble
* Initial efforts to take avantage of all that from `make` (help welcome)
2021-10-24 17:25:41 +02:00
Alexandre Alapetite
9ca49408e0
GitHub Action automatic tests ( #3920 )
...
* PHP lint + phpunit + Manipulate translations + phpcs
* eslint + markdownlint + rtlcss + stylelint
* shellcheck + shfmt + hadolint
2021-10-24 00:14:12 +02:00
Alexandre Alapetite
780e81a8a0
GitHub action latest tag ( #3524 )
...
https://github.com/marketplace/actions/latest-tag
2021-03-23 18:48:41 +01:00