Page MenuHomeSoftware Heritage

D8261.id29882.diff
No OneTemporary

D8261.id29882.diff

diff --git a/jobs/swh-environment.yaml b/jobs/swh-environment.yaml
--- a/jobs/swh-environment.yaml
+++ b/jobs/swh-environment.yaml
@@ -38,6 +38,8 @@
./bin/install
cd swh-graph
make java >/dev/null
+ cd ../swh-web
+ yarn install
cd ..
# execute tests in each swh module
exit_code=0
@@ -47,9 +49,11 @@
tests_dir=$(echo $module | sed 's/-/\//g')/tests
if [ -d "$tests_dir" ]
then
- # pipe tests output to stdout and log file
- make test 2>&1 | tee ../$module.log
+ # pipe checks and tests output to stdout and log file
+ make check 2>&1 | tee ../$module.log
tests_status=${PIPESTATUS[0]}
+ make test 2>&1 | tee -a ../$module.log
+ tests_status=$(($tests_status + ${PIPESTATUS[0]}))
# remove log file if tests succeeded
if [[ "$tests_status" == "0" ]]
then

File Metadata

Mime Type
text/plain
Expires
Jul 3 2025, 7:51 AM (10 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3227771

Event Timeline