Skip to content

Commit

Permalink
Added lib tests to CI workflow (#159)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
UnstoppableMango authored Aug 21, 2024
1 parent 48ad150 commit 1f2f69d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -316,4 +321,4 @@ jobs:
run: make out/install.sh

- name: Test
run: make .test/install_script
run: make .make/test/install_script

0 comments on commit 1f2f69d

Please sign in to comment.