aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorPaulo Gomes <pjbgf@linux.com>2024-07-26 20:01:48 +0100
committerPaulo Gomes <pjbgf@linux.com>2024-07-26 20:01:48 +0100
commitc751b7bca746c15c9da847bf1e8dec56c520c24e (patch)
tree340f1567b0efe390b4daff834da1a00367d40e44 /.github/workflows
parent295dfd34aab6e63050d5f1ba8e6ffc9505dd28a3 (diff)
downloadgo-git-c751b7bca746c15c9da847bf1e8dec56c520c24e.tar.gz
build: Fix syntax to test examples on Windows
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 2218208..2753b73 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -35,7 +35,5 @@ jobs:
- name: Test
run: make test-coverage
- - name: Examples
- env:
- EXAMPLES_DIR: _examples
- run: go test -test.v -test.run='^TestBuildExamples$'
+ - name: Test Examples
+ run: go test -timeout 30s -v -run '^TestExamples$' github.com/go-git/go-git/v5/_examples --examples