-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.drone.yml
47 lines (42 loc) · 1.03 KB
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
kind: pipeline
type: docker
name: test
steps:
- name: Test Go
image: golang:1.23
commands:
- curl -L "https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-$(dpkg --print-architecture)" > "${HOME}/bin/cc-test-reporter"
- chmod +x "${HOME}/bin/cc-test-reporter"
- cc-test-reporter before-build
- make test
- make race
- exitcode="$?"
- make cover
- cc-test-reporter after-build --exit-code "$exitcode"
- make benchmark
- make benchmark-getzone
- make benchmark-clientinit
- make cpuprof
- make memprof
environment:
CC_TEST_REPORTER_ID: 2444c4f6b2d06643187888a7f4deb545331d8ee6c7708a861b4d1de75ff87f7f
- name: Test Makefile
image: cytopia/checkmake:latest
commands:
- checkmake Makefile
trigger:
event:
exclude:
- cron
---
kind: pipeline
type: docker
name: tzdata-check
steps:
- name: Check TZData Freshness
image: golang:1.23
commands:
- make test
trigger:
cron:
- tzdata-check