From 1f2f69daec32086dbf232749c09c5f4c74f51689 Mon Sep 17 00:00:00 2001 From: Erik Rasmussen Date: Tue, 20 Aug 2024 21:42:57 -0500 Subject: [PATCH] Added lib tests to CI workflow (#159) * WIP on make-clean Added lib tests to CI workflow A new job has been added to the continuous integration (CI) workflow. This job runs library tests in the 'provider' directory using Ginkgo, a BDD testing framework for Go. The test results are silenced for skipped tests and outputted in a format suitable for GitHub. * Updated test command in CI workflow The test command in the continuous integration workflow has been updated. Previously, it was running a make command for '.test/install_script'. Now, it's been changed to run '.make/test/install_script' instead. --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 89534ab6..1c8c17e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -285,6 +285,11 @@ jobs: provider/go.sum tests/go.sum + - name: Lib Tests + working-directory: provider + run: | + go run github.com/onsi/ginkgo/v2/ginkgo run -r -v --silence-skips --github-output + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -316,4 +321,4 @@ jobs: run: make out/install.sh - name: Test - run: make .test/install_script + run: make .make/test/install_script