mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-28 17:34:24 -06:00
1bb79696c6
This includes a bugfix to the cty/msgpack package to ensure correct decoding of unknown and null values. This also includes updates to cty's dependencies.
17 lines
491 B
YAML
17 lines
491 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.6
|
|
|
|
before_install:
|
|
- go get -u github.com/ChrisTrenkamp/goxpath
|
|
- go get -u github.com/ChrisTrenkamp/goxpath/cmd/goxpath
|
|
- go get -u github.com/wadey/gocovmerge
|
|
|
|
script:
|
|
- go list -f '{{if gt (len .TestGoFiles) 0}}"go test -covermode count -coverprofile {{.Name}}.coverprofile -coverpkg ./... {{.ImportPath}}"{{end}}' ./... | xargs -I {} bash -c {}
|
|
- gocovmerge `ls *.coverprofile` > coverage.txt
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|