From 295dfd34aab6e63050d5f1ba8e6ffc9505dd28a3 Mon Sep 17 00:00:00 2001 From: CrazyBolillo Date: Wed, 14 Feb 2024 22:31:21 -0600 Subject: build: run example tests during CI workflow Tests for examples exist, however they were not being run as part of the CI. This commit fixes it by adding a new step in the test workflow which runs said tests. Related to #912. --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f94d3e7..2218208 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,3 +34,8 @@ jobs: - name: Test run: make test-coverage + + - name: Examples + env: + EXAMPLES_DIR: _examples + run: go test -test.v -test.run='^TestBuildExamples$' -- cgit