From de11930349feba30c1ff7fae2c0f3f1ea86a39c7 Mon Sep 17 00:00:00 2001 From: Tom Klingenberg Date: Thu, 5 Nov 2020 15:59:55 +0100 Subject: [PATCH] Switch bats to maintained bats-core (CI) sstephenson/bats is not maintained any longer [1]. it spilled errors when running tests. replacing it with bats-core/bats-core worked out of the box. [1]: https://github.com/sstephenson/bats/pull/269 etc. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3805468d..c472d9cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,5 +24,5 @@ jobs: run: ./script/build.bash linux amd64 test-build; mv dist/hcloud* cmd/hcloud/hcloud - name: Run bats run: | - git clone --depth 1 https://github.com/sstephenson/bats.git + git clone --depth 1 https://github.com/bats-core/bats-core.git bats PATH="./cmd/hcloud:$PATH" bats/bin/bats test