Skip to content

Commit e3ba7ce

Browse files
committed
Minor fixes
1 parent 7f961cc commit e3ba7ce

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/unit-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ jobs:
6262
command -v task
6363
6464
- name: "Run unit tests"
65-
run: "task test"
65+
run: "task test:all"

taskfiles/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ tasks:
3030
- "{{.TARGET}}"
3131

3232
unit-test-*:
33-
desc: "Builds a unit test target."
33+
desc: "Builds unit test target for the specified library."
3434
vars:
3535
TEST_TARGET: >-
3636
{{printf "unit-test-%s" (index .MATCH 0)}}

taskfiles/test.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ tasks:
77
- task: "run-all"
88

99
run-*:
10-
desc: "Runs a unit test target."
10+
desc: "Runs unit test for the specified library."
1111
vars:
12-
LIBRARY: "{{index .MATCH 0}}"
12+
TEST_TARGET: >-
13+
{{printf "unit-test-%s" (index .MATCH 0)}}
1314
deps:
14-
- task: ":build:unit-test-{{.LIBRARY}}"
15-
cmd: "{{.G_TEST_BIN_DIR}}/unit-test-{{.LIBRARY}}"
15+
- task: ":build:{{.TEST_TARGET}}"
16+
cmd: "{{.G_TEST_BIN_DIR}}/{{.TEST_TARGET}}"

0 commit comments

Comments
 (0)