Files
ezbookkeeping/.gitea
zhengchen.tao 2dd8f0994a build-image workflow 设 BUILD_PIPELINE=1 跳过活 API 测试
pkg/exchangerates 里 TestExchangeRatesApiLatestExchangeRateHandler_*
是依赖第三方 API(Bank of Canada / 乌兹别克央行 / 等)的活测试。
upstream Dockerfile 设了 ARG BUILD_PIPELINE,测试代码看到
BUILD_PIPELINE=1 && CHECK_3RD_API!=1 时 return nil 早退。

我们 workflow 之前没传这个 arg,所以默认全跑,国内访问加拿大/
乌兹别克 API 直接超时拉飞 build。对齐 upstream 的 GH Actions
默认值(.github/actions/build-linux-docker-and-package/action.yml
line 91 也是 BUILD_PIPELINE=1)。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 16:02:54 +08:00
..