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) { } } } -*/