Skip to content

Commit 49b7f0c

Browse files
committed
Separate repository checkout path and denops.vim
Otherwise `deno test` tests all ts files in `denops.vim` as well.
1 parent 486f9a8 commit 49b7f0c

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: deno
22

33
env:
44
DENO_VERSION: 1.x
5-
DENOPS_PATH: "./denops.vim"
5+
DENOPS_PATH: "../denops.vim"
66

77
on:
88
schedule:
9-
- cron: '0 7 * * 0'
9+
- cron: "0 7 * * 0"
1010
push:
1111
branches:
1212
- main
@@ -41,12 +41,18 @@ jobs:
4141
test:
4242
runs-on: ubuntu-20.04
4343

44+
defaults:
45+
run:
46+
working-directory: ./repo
47+
4448
steps:
4549
- uses: actions/checkout@v2
50+
with:
51+
path: "./repo"
4652
- uses: actions/checkout@v2
4753
with:
4854
repository: "vim-denops/denops.vim"
49-
path: "denops.vim"
55+
path: "./denops.vim"
5056
- uses: denoland/setup-deno@main
5157
with:
5258
deno-version: ${{ env.DENO_VERSION }}

0 commit comments

Comments
 (0)