Skip to content

Commit 6e727ee

Browse files
authored
Merge pull request #409 from vim-denops/ci
☕ Improve test CI
2 parents eb9ef6a + a633841 commit 6e727ee

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,20 @@ on:
1212
- "**.json{c,}"
1313
- ".github/workflows/test.yml"
1414
workflow_dispatch:
15+
inputs:
16+
verbose:
17+
type: boolean
18+
required: false
19+
description: 'Enable verbose output'
20+
default: false
1521

1622
defaults:
1723
run:
1824
shell: bash --noprofile --norc -eo pipefail {0}
1925

26+
env:
27+
DENOPS_TEST_VERBOSE: ${{ github.event.inputs.verbose }}
28+
2029
jobs:
2130
check:
2231
strategy:
@@ -39,6 +48,8 @@ jobs:
3948
run: deno fmt --check
4049
- name: Type check
4150
run: deno task check
51+
- name: Doc check
52+
run: deno task check:doc
4253
- name: Supported version inconsistency check
4354
run: |
4455
deno task apply:supported-versions

deno.jsonc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"tasks": {
33
"check": "deno check **/*.ts",
4-
"test": "LANG=C deno test -A --parallel --shuffle --doc",
4+
"check:doc": "deno test --doc --no-run",
5+
"test": "LANG=C deno test -A --parallel --shuffle",
56
"test:coverage": "deno task test --coverage=.coverage",
67
"coverage": "deno coverage --exclude=\"test[.]ts(#.*)?$\" .coverage",
78
"update": "deno run --allow-env --allow-read --allow-write --allow-run=git,deno --allow-net=jsr.io,registry.npmjs.org jsr:@molt/cli **/*.ts",

0 commit comments

Comments
 (0)