浏览代码

Prevent newer (borgmatic-unsupported) version of Black code formatter installing in Alpine Edge.

Dan Helfman 4 年之前
父节点
当前提交
8b8f92d717
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      scripts/run-full-tests

+ 2 - 1
scripts/run-full-tests

@@ -11,7 +11,8 @@
 set -e
 
 apk add --no-cache python3 py3-pip borgbackup postgresql-client mariadb-client
-apk add --no-cache black || true  # If black is available in this version of Alpine, install it.
+# If certain dependencies of black are available in this version of Alpine, install them.
+apk add --no-cache py3-typed-ast py3-regex || true
 python3 -m pip install --upgrade pip==20.2.4 setuptools==50.3.2
 pip3 install tox==3.20.1
 export COVERAGE_FILE=/tmp/.coverage