Skip to content

Commit 1b611b1

Browse files
committed
dont download codecov, run it from the image
1 parent df2a10f commit 1b611b1

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.drone.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,25 @@ name: default
33

44
steps:
55
- name: lint
6-
image: arduino/arduino-cli:drone-0.1.2
6+
image: arduino/arduino-cli:drone-0.2.0
77
commands:
88
# Check if the Go code is properly formatted and run the linter
99
- task check
1010
# Ensure protobufs compile
1111
- task protoc
1212

1313
- name: build
14-
image: arduino/arduino-cli:drone-0.1.2
14+
image: arduino/arduino-cli:drone-0.2.0
1515
commands:
1616
- task build
1717

1818
- name: test
19-
image: arduino/arduino-cli:drone-0.1.2
19+
image: arduino/arduino-cli:drone-0.2.0
20+
environment:
21+
CODECOV_TOKEN:
22+
from_secret: codecov_token
2023
commands:
2124
- task test
2225
- task test-legacy
23-
- bash <(curl -s https://codecov.io/bash) -cF unit -f '*_unit.txt'
24-
- bash <(curl -s https://codecov.io/bash) -cF integ -f '*_integ.txt'
26+
- codecov -cF unit -f '*_unit.txt'
27+
- codecov -cF integ -f '*_integ.txt'

0 commit comments

Comments
 (0)