Initial commit
This commit is contained in:
parent
d71f9ecd85
commit
7db732159a
2 changed files with 2 additions and 4 deletions
|
@ -116,12 +116,12 @@ spec:
|
||||||
|
|
||||||
- name: unit-tests
|
- name: unit-tests
|
||||||
container:
|
container:
|
||||||
image: golang:latest
|
image: golang:1.23.2
|
||||||
command: [sh, -c]
|
command: [sh, -c]
|
||||||
args:
|
args:
|
||||||
- |
|
- |
|
||||||
cd /shared-data/repo && \
|
cd /shared-data/repo && \
|
||||||
go test ./fib_test.go -v > test-results.txt; \
|
go test ./... -v > test-results.txt; \
|
||||||
cat test-results.txt
|
cat test-results.txt
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: shared-data
|
- name: shared-data
|
||||||
|
|
|
@ -26,7 +26,6 @@ func BenchmarkFibonacciBig_20(b *testing.B) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
func TestFibonacci(t *testing.T) {
|
func TestFibonacci(t *testing.T) {
|
||||||
data := []struct {
|
data := []struct {
|
||||||
n uint
|
n uint
|
||||||
|
@ -56,4 +55,3 @@ func TestFibonacciBig(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
Loading…
Reference in a new issue