Skip to content

Commit

Permalink
build: run example tests during CI workflow
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
crazybolillo committed Mar 15, 2024
1 parent ca05e2c commit 295dfd3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -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$'

0 comments on commit 295dfd3

Please sign in to comment.