Skip to content

Commit 52bff98

Browse files
authored
Merge pull request #343 from vim-denops/fix-ci
☕ Improve CI tests
2 parents e0a3bd4 + ec204b9 commit 52bff98

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
name: Test
22

33
on:
4-
schedule:
5-
- cron: "0 7 * * 0"
64
push:
75
branches:
86
- main
97
pull_request:
8+
paths:
9+
- "**.ts"
10+
- "**.vim"
11+
- "**.md"
12+
- "deno.jsonc"
13+
- ".github/workflows/test.yml"
1014
workflow_dispatch:
1115

1216
defaults:
@@ -78,6 +82,8 @@ jobs:
7882
${DENOPS_TEST_NVIM} --version
7983
env:
8084
DENOPS_TEST_NVIM: ${{ steps.nvim.outputs.executable }}
85+
- name: Perform pre-cache
86+
run: deno cache ./denops/@denops-private/mod.ts
8187
- name: Test
8288
run: deno task test:coverage
8389
env:

denops/@denops-private/mod.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/**
2+
* Denops entry file to perform pre-cache from CLI.
3+
*
4+
* ```
5+
* deno cache /path/to/denops.vim/denops/@denops-private/mod.ts
6+
* ```
7+
*
8+
* @module
9+
*/
10+
export * from "./cli.ts";
11+
export * from "./worker.ts";

0 commit comments

Comments
 (0)