Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[hardening] github workflows - corrupted cache

Markus Heiser8c45f1149dd4
diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml
index 4f3b8e9c8..39f3d3418 100644
--- a/.github/workflows/integration.yml
+++ b/.github/workflows/integration.yml
@@ -34,7 +34,7 @@ jobs:
make V=1 install
make V=1 gecko.driver
- name: Run tests
- run: make V=1 test
+ run: make V=1 ci.test
- name: Test coverage
run: make V=1 test.coverage
- name: Store coverage result
diff --git a/Makefile b/Makefile
index c52e93cdb..d148581dd 100644
--- a/Makefile
+++ b/Makefile
@@ -251,6 +251,11 @@ test.clean:
# travis
# ------
+PHONY += ci.test
+ci.test:
+ $(PY_ENV_BIN)/python -c "import yaml" || make clean
+ $(MAKE) test
+
travis.codecov:
$(Q)$(PY_ENV_BIN)/python -m pip install codecov