summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com>2021-08-12 21:22:23 +0200
committerLibravatar GitHub <noreply@github.com>2021-08-12 21:22:23 +0200
commita4a33b9ad9ce469cd0df5331c5c2d9082193967e (patch)
tree505fc054743abe2484cc8f719830aa060dedcd8e
parentGrand test fixup (#138) (diff)
downloadgotosocial-a4a33b9ad9ce469cd0df5331c5c2d9082193967e.tar.xz
Don't run tests+lint on merge to main (#139)
-rw-r--r--.drone.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
index 57514a086..42ec83ce4 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -16,6 +16,10 @@ steps:
image: golangci/golangci-lint:v1.41.1
commands:
- golangci-lint run --timeout 5m0s --tests=false --verbose
+ when:
+ event:
+ include:
+ - pull_request
- name: test
image: golang:1.16.4
@@ -26,6 +30,10 @@ steps:
# `-p 1` => run maximum one test at a time
# `./...` => run all tests
- go test -count 1 -p 1 ./...
+ when:
+ event:
+ include:
+ - pull_request
- name: publish
image: plugins/docker
@@ -50,6 +58,6 @@ services:
POSTGRES_PASSWORD: postgres
---
kind: signature
-hmac: 78dd20d97444a9e2904552d56eb52f43ad30ba27e1d897a5ea6808971f9a0ae2
+hmac: 888b0a9964be9bddad325a8eab0f54350f3cd36c333564ad4333811b4841b640
...