Skip to content

Commit 596ef2f

Browse files
committed
add artifact download in tests
1 parent fe31f7e commit 596ef2f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Taskfile.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ tasks:
3030

3131
test:
3232
desc: Run all go tests
33+
deps:
34+
- build:artifacts
3335
cmds:
3436
- go test ./... -v -race {{ .CLI_ARGS }}
3537

@@ -71,6 +73,12 @@ tasks:
7173
build:artifacts:
7274
desc: Prepare the arduino-flasher-cli artifacts
7375
internal: true
76+
status:
77+
- test -f ./updater/artifacts/resources_darwin_amd64/qdl
78+
- test -f ./updater/artifacts/resources_darwin_arm64/qdl
79+
- test -f ./updater/artifacts/resources_linux_amd64/qdl
80+
- test -f ./updater/artifacts/resources_linux_arm64/qdl
81+
- test -f ./updater/artifacts/resources_windows_amd64/qdl.exe
7482
cmd: sh ./updater/artifacts/download_resources.sh
7583

7684
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-dependencies-task/Taskfile.yml

0 commit comments

Comments
 (0)