Skip to content

Commit d28b64c

Browse files
committed
Fixed bug in GH test workflow
1 parent df0dd3e commit d28b64c

6 files changed

Lines changed: 25 additions & 7 deletions

File tree

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ end_of_line = lf
55
insert_final_newline = true
66
trim_trailing_whitespace = true
77

8-
[{Dockerfile,*.sh}]
8+
[{Dockerfile,*.bash,*.bats,*.sh}]
99
charset = utf-8
1010
indent_style = space
1111
indent_size = 4

.github/workflows/test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
cache: yarn
2323
cache-dependency-path: yarn.lock
2424

25+
- name: Install dependencies
26+
run: yarn install --immutable
27+
2528
- name: Run Linters
2629
run: yarn lint
2730

@@ -50,5 +53,8 @@ jobs:
5053
cache: yarn
5154
cache-dependency-path: yarn.lock
5255

56+
- name: Install dependencies
57+
run: yarn install --immutable
58+
5359
- name: Run bats tests
54-
run: npm test --recursive
60+
run: yarn test

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.bats

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"explorer.fileNesting.enabled": true,
55
"explorer.fileNesting.expand": false,
66
"explorer.fileNesting.patterns": {
7-
"package.json": ".eslint*, .markdown*, .prettierrc*, .shellcheck*, .yarn*, cspell*, yarn*"
7+
"package.json": ".eslint*, .markdown*, .prettier*, .shellcheck*, .yarn*, cspell*, yarn*"
88
},
99
"markdownlint.config": {
1010
"extends": "./.markdownlintrc"

cspell.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,21 @@
88
"node_modules/"
99
],
1010
"dictionaryDefinitions": [],
11-
"dictionaries": ["misc", "node", "npm", "typescript"],
12-
"words": ["shellcheck", "targendaz", "zrun", "zset", "zshell", "zsource"],
11+
"dictionaries": [
12+
"misc",
13+
"node",
14+
"npm",
15+
"typescript"
16+
],
17+
"words": [
18+
"shellcheck",
19+
"sublicensable",
20+
"targendaz",
21+
"zrun",
22+
"zset",
23+
"zshell",
24+
"zsource"
25+
],
1326
"ignoreWords": [],
1427
"import": []
1528
}

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
"zsh",
1111
"zshell",
1212
"test",
13-
"unit",
1413
"assert",
15-
"assertion",
1614
"helper"
1715
],
1816
"homepage": "https://github.com/targendaz2/bats-zsh#readme",

0 commit comments

Comments
 (0)