mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
chore: add testing step to ci
This commit is contained in:
parent
cb8ac5ebf1
commit
c2d8038c63
@ -21,6 +21,14 @@ jobs:
|
|||||||
root: .
|
root: .
|
||||||
paths:
|
paths:
|
||||||
- '*'
|
- '*'
|
||||||
|
test:
|
||||||
|
docker:
|
||||||
|
- image: circleci/golang:1.14.3
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: "Test"
|
||||||
|
command: go test ./...
|
||||||
build-go:
|
build-go:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/golang:1.14.3
|
- image: circleci/golang:1.14.3
|
||||||
@ -57,6 +65,10 @@ workflows:
|
|||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
only: /.*/
|
only: /.*/
|
||||||
|
- test:
|
||||||
|
filters:
|
||||||
|
tags:
|
||||||
|
only: /.*/
|
||||||
- build-node:
|
- build-node:
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
@ -68,6 +80,7 @@ workflows:
|
|||||||
requires:
|
requires:
|
||||||
- build-node
|
- build-node
|
||||||
- lint
|
- lint
|
||||||
|
- test
|
||||||
- release:
|
- release:
|
||||||
context: deploy
|
context: deploy
|
||||||
requires:
|
requires:
|
||||||
|
Loading…
Reference in New Issue
Block a user