summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorVadim Zeitlin <vz-swig@zeitlins.org>2021-10-03 17:19:29 +0200
committerVadim Zeitlin <vz-swig@zeitlins.org>2021-10-03 17:19:29 +0200
commit8a0ec051db5dd638e55d0a636d31e8a70dabcdd1 (patch)
tree635786d8efc1d747885326a21dd6fcecb5a5e5e7 /.github
parent6c59cae7996f83e0340145ed989b72c7eee68246 (diff)
downloadswig-8a0ec051db5dd638e55d0a636d31e8a70dabcdd1.tar.gz
Don't run non-node JS tests in parallel in the CI builds
This seems to be broken and sporadically results in "Text file busy" errors when the tests are run actually in parallel, as is the case in GitHub CI environment.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 076c322a7..9c5a967f5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -271,6 +271,12 @@ jobs:
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
nvm use ${VER}
;;
+ *)
+ # Running tests using v8 or jsc involves creating a custom
+ # interpreter in Tools/javascript, which is currently broken
+ # for parallel builds (we attempt to update this interpreter
+ # while running, resulting in "Text file busy" error).
+ unset SWIGJOBS
esac
;;