mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-30 00:26:15 -06:00
put test commands directly in drone.yml
This commit is contained in:
parent
bcadf9c3a7
commit
95ceb7fcc7
1 changed files with 3 additions and 4 deletions
|
|
@ -31,10 +31,9 @@ steps:
|
||||||
volumes:
|
volumes:
|
||||||
- name: go-build-cache
|
- name: go-build-cache
|
||||||
path: /root/.cache/go-build
|
path: /root/.cache/go-build
|
||||||
environment:
|
|
||||||
GTS_DB_ADDRESS: postgres
|
|
||||||
commands:
|
commands:
|
||||||
- ./scripts/test.sh
|
- GTS_DB_TYPE="sqlite" GTS_DB_ADDRESS=":memory:" go test -count 1 -p 1 ./...
|
||||||
|
- GTS_DB_TYPE="postgres" GTS_DB_ADDRESS="postgres" go test -count 1 -p 1 ./...
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
include:
|
include:
|
||||||
|
|
@ -83,6 +82,6 @@ trigger:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 07325ed3186a319e5cf98f2307f04c4a10b01b2bd8fb394a2e633502041bfb90
|
hmac: 764ac2de691c436bd86c6cc94b862cde2b5558e4de65ff68bb0d227de1736783
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue