aboutsummaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2021-07-17 22:46:20 +0200
committerGitHub <noreply@github.com>2021-07-17 22:46:20 +0200
commit4b512abf5b00a2f51ef295ba63671f557e1d4c13 (patch)
tree96c16d38e52c49fdaa570ebc16acb2c6a40e372e /.drone.yml
parente83abfc2898e499c64276fa1bf03e6ccf5aa0390 (diff)
downloadgitea-4b512abf5b00a2f51ef295ba63671f557e1d4c13.tar.gz
gitea-4b512abf5b00a2f51ef295ba63671f557e1d4c13.zip
CI: Add unit-test-race (#16470)
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index 62c448214f..c12138989b 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -217,6 +217,17 @@ steps:
GITHUB_READ_TOKEN:
from_secret: github_read_token
+ - name: unit-test-race
+ image: golang:1.16
+ commands:
+ - make test-backend
+ environment:
+ GOPROXY: off
+ TAGS: sqlite sqlite_unlock_notify
+ RACE_ENABLED: true
+ GITHUB_READ_TOKEN:
+ from_secret: github_read_token
+
- name: unit-test-gogit
pull: always
image: golang:1.16