diff options
author | CrazyBolillo <antonio@zoftko.com> | 2024-02-14 22:31:21 -0600 |
---|---|---|
committer | CrazyBolillo <antonio@zoftko.com> | 2024-03-15 17:07:01 -0600 |
commit | 295dfd34aab6e63050d5f1ba8e6ffc9505dd28a3 (patch) | |
tree | 31f2831b670518f6dabd1f2a6019ee96c6216465 /.github/workflows | |
parent | ca05e2c4d8cb1801d3a8c12773bac206774871a3 (diff) | |
download | go-git-295dfd34aab6e63050d5f1ba8e6ffc9505dd28a3.tar.gz |
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.
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/test.yml | 5 |
1 files changed, 5 insertions, 0 deletions
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$' |