From 7db732159a49838fffe762a1bbd5262ff5b8beaf Mon Sep 17 00:00:00 2001 From: "franz.germann1" Date: Thu, 24 Oct 2024 09:16:33 +0200 Subject: [PATCH] Initial commit --- argo-workflows/example-ci-workflow.yaml | 4 ++-- fib_test.go | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/argo-workflows/example-ci-workflow.yaml b/argo-workflows/example-ci-workflow.yaml index f70ecb0..14947f9 100644 --- a/argo-workflows/example-ci-workflow.yaml +++ b/argo-workflows/example-ci-workflow.yaml @@ -116,12 +116,12 @@ spec: - name: unit-tests container: - image: golang:latest + image: golang:1.23.2 command: [sh, -c] args: - | cd /shared-data/repo && \ - go test ./fib_test.go -v > test-results.txt; \ + go test ./... -v > test-results.txt; \ cat test-results.txt volumeMounts: - name: shared-data diff --git a/fib_test.go b/fib_test.go index 32546d3..df15027 100644 --- a/fib_test.go +++ b/fib_test.go @@ -26,7 +26,6 @@ func BenchmarkFibonacciBig_20(b *testing.B) { } } -/* func TestFibonacci(t *testing.T) { data := []struct { n uint @@ -56,4 +55,3 @@ func TestFibonacciBig(t *testing.T) { } } } -*/