mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 06:39:40 +01:00
d1353e1f7c
* update code.gitea.io/sdk/gitea v0.13.1 -> v0.13.2 * update github.com/go-swagger/go-swagger v0.25.0 -> v0.26.0 * update github.com/google/uuid v1.1.2 -> v1.2.0 * update github.com/klauspost/compress v1.11.3 -> v1.11.7 * update github.com/lib/pq 083382b7e6fc -> v1.9.0 * update github.com/markbates/goth v1.65.0 -> v1.66.1 * update github.com/mattn/go-sqlite3 v1.14.4 -> v1.14.6 * update github.com/mgechev/revive 246eac737dc7 -> v1.0.3 * update github.com/minio/minio-go/v7 v7.0.6 -> v7.0.7 * update github.com/niklasfasching/go-org v1.3.2 -> v1.4.0 * update github.com/olivere/elastic/v7 v7.0.21 -> v7.0.22 * update github.com/pquerna/otp v1.2.0 -> v1.3.0 * update github.com/xanzy/go-gitlab v0.39.0 -> v0.42.0 * update github.com/yuin/goldmark v1.2.1 -> v1.3.1
52 lines
2 KiB
YAML
Vendored
52 lines
2 KiB
YAML
Vendored
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
go:
|
|
- 1.14.x
|
|
- 1.x
|
|
arch:
|
|
- amd64
|
|
jobs:
|
|
include:
|
|
# only run fast tests on ppc64le
|
|
- go: 1.x
|
|
arch: ppc64le
|
|
script:
|
|
- gotestsum -f short-verbose -- ./...
|
|
|
|
# include large spec validation sample (run once)
|
|
- go: 1.x
|
|
arch: amd64
|
|
script:
|
|
- gotestsum -f short-verbose -- -timeout=30m -args -enable-go-swagger ./...
|
|
|
|
# include linting job, but only for latest go version and amd64 arch (run once)
|
|
- go: 1.x
|
|
arch: amd64
|
|
install:
|
|
- GO111MODULE=off go get -u gotest.tools/gotestsum
|
|
- go get -u github.com/go-openapi/runtime@master
|
|
script:
|
|
- gotestsum -f short-verbose -- -timeout=30m github.com/go-openapi/runtime/...
|
|
|
|
# include go-openapi/runtime non reg job (run once)
|
|
- go: 1.x
|
|
arch: amd64
|
|
install:
|
|
go get github.com/golangci/golangci-lint/cmd/golangci-lint
|
|
script:
|
|
- golangci-lint run --new-from-rev master
|
|
|
|
# include -race test on short tests only (run once)
|
|
- go: 1.x
|
|
arch: amd64
|
|
script:
|
|
- gotestsum -f short-verbose -- -race ./...
|
|
|
|
install:
|
|
- GO111MODULE=off go get -u gotest.tools/gotestsum
|
|
language: go
|
|
notifications:
|
|
slack:
|
|
secure: EmObnQuM9Mw8J9vpFaKKHqSMN4Wsr/A9+v7ewAD5cEhA0T1P4m7MbJMiJOhxUhj/X+BFh2DamW+P2lT8mybj5wg8wnkQ2BteKA8Tawi6f9PRw2NRheO8tAi8o/npLnlmet0kc93mn+oLuqHw36w4+j5mkOl2FghkfGiUVhwrhkCP7KXQN+3TU87e+/HzQumlJ3nsE+6terVxkH3PmaUTsS5ONaODZfuxFpfb7RsoEl3skHf6d+tr+1nViLxxly7558Nc33C+W1mr0qiEvMLZ+kJ/CpGWBJ6CUJM3jm6hNe2eMuIPwEK2hxZob8c7n22VPap4K6a0bBRoydoDXaba+2sD7Ym6ivDO/DVyL44VeBBLyIiIBylDGQdZH+6SoWm90Qe/i7tnY/T5Ao5igT8f3cfQY1c3EsTfqmlDfrhmACBmwSlgkdVBLTprHL63JMY24LWmh4jhxsmMRZhCL4dze8su1w6pLN/pD1pGHtKYCEVbdTmaM3PblNRFf12XB7qosmQsgUndH4Vq3bTbU0s1pKjeDhRyLvFzvR0TBbo0pDLEoF1A/i5GVFWa7yLZNUDudQERRh7qv/xBl2excIaQ1sV4DSVm7bAE9l6Kp+yeHQJW2uN6Y3X8wu9gB9nv9l5HBze7wh8KE6PyWAOLYYqZg9/sAtsv/2GcQqXcKFF1zcA=
|
|
script:
|
|
- gotestsum -f short-verbose -- -timeout=20m -coverprofile=coverage.txt -covermode=atomic -args -enable-long ./...
|