File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 6161 MONGODB_URI : mongodb://localhost:27017
6262 MARIADB_DSN : " strfmt_test:strfmt_test@tcp(localhost:3306)/strfmt_integration_test?parseTime=true&loc=UTC"
6363 POSTGRESQL_DSN : " postgres://strfmt_test:strfmt_test@localhost:5432/strfmt_integration_test?sslmode=disable"
64- run : go test -tags testintegration -v -count=1 ./...
64+ run : >
65+ go test -tags testintegration -v -count=1
66+ -coverprofile='integration.coverage.ubuntu-latest-stable.out'
67+ -covermode=atomic
68+ -coverpkg='github.com/go-openapi/strfmt/...,github.com/go-openapi/strfmt/enable/mongodb/...'
69+ ./...
70+
71+ - name : Upload coverage artifacts
72+ uses : actions/upload-artifact@v4
73+ with :
74+ path : ' internal/testintegration/integration.coverage.ubuntu-latest-stable.out'
75+ name : ' integration.coverage.ubuntu-latest-stable'
76+ retention-days : 1
77+
78+ collect-coverage :
79+ needs : [integration-test]
80+ if : ${{ !cancelled() && needs.integration-test.result == 'success' }}
81+ uses : go-openapi/ci-workflows/.github/workflows/collect-coverage.yml@34a5baa33361844b1d2c70cd4548e3cea83529d9 # v0.2.13
82+ secrets : inherit
You can’t perform that action at this time.
0 commit comments