From 790a3dd1db9614525bd09c06db825c0a6859b6c8 Mon Sep 17 00:00:00 2001 From: Yuchan Lee Date: Sat, 31 Aug 2024 05:12:52 +0000 Subject: [PATCH] fix: Test not working --- .github/workflows/ci.yaml | 3 --- test/bats | 1 + test/test.bats | 1 + test/test_helper/bats-assert | 1 + test/test_helper/bats-support | 1 + 5 files changed, 4 insertions(+), 3 deletions(-) create mode 160000 test/bats create mode 160000 test/test_helper/bats-assert create mode 160000 test/test_helper/bats-support diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b1c6c44..c61c070 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,9 +20,6 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Set up Bats - uses: bats-core/bats-action@2.0.0 - - name: Build Docker image uses: docker/build-push-action@v6 with: diff --git a/test/bats b/test/bats new file mode 160000 index 0000000..190c7c9 --- /dev/null +++ b/test/bats @@ -0,0 +1 @@ +Subproject commit 190c7c9e793d93eed3ab873f5b6b6c790df44045 diff --git a/test/test.bats b/test/test.bats index 51e01cc..d27263e 100644 --- a/test/test.bats +++ b/test/test.bats @@ -14,5 +14,6 @@ teardown_file() { # Basic tests # ============================================================================ @test "Do some tests" { + run echo "OK" assert_success } diff --git a/test/test_helper/bats-assert b/test/test_helper/bats-assert new file mode 160000 index 0000000..e2d855b --- /dev/null +++ b/test/test_helper/bats-assert @@ -0,0 +1 @@ +Subproject commit e2d855bc78619ee15b0c702b5c30fb074101159f diff --git a/test/test_helper/bats-support b/test/test_helper/bats-support new file mode 160000 index 0000000..9bf10e8 --- /dev/null +++ b/test/test_helper/bats-support @@ -0,0 +1 @@ +Subproject commit 9bf10e876dd6b624fe44423f0b35e064225f7556