Commit Graph

13 Commits (8c45f1149dd464317c8a11829b084f2d30037162)

Author SHA1 Message Date
Markus Heiser 8c45f1149d [hardening] github workflows - corrupted cache
aka: ensure that 'make test' works as expected

The cache contains a copy './local' which is - under some circumstance -
corrupted.  It is not possible to clear the cache [1] (see the top of the page).

Ensure that 'make test' works as expected [2] even if

- the python interpreter is missing
- the virtualenv exists but pyyaml is missing

To hardening when the workflow cache fails, this patch adds the new target
'travis.test' into the workflow.  This target probes to import a python module
'yaml'.  If this fails the virtualenv will be completely new build.

[1] https://github.com/actions/cache/issues/2#issuecomment-673493515
[2] https://github.com/searx/searx/pull/2517#discussion_r567240235

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Alexandre Flament 5a511f0d62 [fix] CI: fix docker push 4 years ago
Alexandre Flament 38090daa29 [fix] github actions: use ubuntu-20.04 instead of ubuntu-latest 4 years ago
Alexandre Flament d54034a5e6 [mod] add Python 3.9 support 4 years ago
Alexandre Flament f5c3cb7afa [mod] drop Python 3.5 support 4 years ago
Emilien Devos 3fc9a73713 add notice for the issue templates 4 years ago
Alexandre Flament 6402fb0b9a [enh] CI: use actions/cache@v2 for Python dependencies 4 years ago
Alexandre Flament f4983e7415 [mod] remove emojis from source code 4 years ago
Emilien Devos 741c31fa06 add new issue template 4 years ago
Alexandre Flament 963b93b543 [fix] fix github workflow: deploy documentation 4 years ago
Alexandre Flament c9fb3ac34f [fix] fix github workflow 4 years ago
Alexandre Flament 197a013d2e [fix] fix github workflow
bug fix of 9c25cd99c4
4 years ago
Alexandre Flament 9c25cd99c4 [mod] use github actions instead of travis
fix https://github.com/searx/searx/issues/2279
4 years ago