Skip to content

Commit a7ea418

Browse files
authored
Merge pull request #229 from vim-denops/fix-codecov
☕ Fix Codecov?
2 parents ac720d9 + 50640ad commit a7ea418

File tree

3 files changed

+9
-19
lines changed

3 files changed

+9
-19
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -68,21 +68,13 @@ jobs:
6868
- run: git config --global core.autocrlf false
6969
if: runner.os == 'Windows'
7070
- uses: actions/checkout@v4
71-
with:
72-
path: "./repo"
7371
- uses: actions/checkout@v4
7472
with:
7573
repository: "vim-denops/denops.vim"
76-
path: "./denops.vim"
74+
path: ".deps/denops.vim"
7775
- uses: denoland/setup-deno@v1.1.4
7876
with:
7977
deno-version: "${{ matrix.version }}"
80-
- uses: actions/cache@v4
81-
with:
82-
key: deno-${{ hashFiles('**/*') }}
83-
restore-keys: deno-
84-
path: |
85-
/home/runner/.cache/deno/deps/https/deno.land
8678
- uses: rhysd/action-setup-vim@v1
8779
id: vim
8880
with:
@@ -104,23 +96,17 @@ jobs:
10496
${DENOPS_TEST_NVIM} --version
10597
env:
10698
DENOPS_TEST_NVIM: ${{ steps.nvim.outputs.executable }}
107-
- name: Cache
108-
run: deno cache ./**/*.ts
109-
working-directory: ./repo
11099
- name: Test
111100
run: deno task test:coverage
112101
env:
113-
DENOPS_TEST_DENOPS_PATH: "../denops.vim"
102+
DENOPS_TEST_DENOPS_PATH: ".deps/denops.vim"
114103
DENOPS_TEST_VIM_EXECUTABLE: ${{ steps.vim.outputs.executable }}
115104
DENOPS_TEST_NVIM_EXECUTABLE: ${{ steps.nvim.outputs.executable }}
116-
working-directory: ./repo
117-
timeout-minutes: 3
105+
timeout-minutes: 5
118106
- run: |
119107
deno task coverage --lcov > coverage.lcov
120-
working-directory: ./repo
121108
- uses: codecov/codecov-action@v4
122109
with:
123110
os: ${{ runner.os }}
124111
files: ./coverage.lcov
125112
token: ${{ secrets.CODECOV_TOKEN }}
126-
working-directory: ./repo

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/.tools
1+
/.deps
22
/.coverage
33
/docs
44
deno.lock

deno.jsonc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
"lock": false,
3-
"exclude": ["docs/**"],
3+
"exclude": [
4+
"docs/**",
5+
".deps/**",
6+
".coverage/**"
7+
],
48
"imports": {
59
"https://deno.land/x/denops_std@$MODULE_VERSION/": "./"
610
},

0 commit comments

Comments
 (0)