Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,27 +62,32 @@ jobs:
run: deno task check:doc

test:
needs: check

strategy:
fail-fast: false
matrix:
runner:
- windows-latest
- macos-latest
- ubuntu-latest
deno_version:
- "2.3.0"
- "~2.3"
- "2.x"
host_version:
- vim: "v9.1.1646"
nvim: "v0.11.3"
runs-on: ${{ matrix.runner }}
timeout-minutes: 15
steps:
- run: git config --global core.autocrlf false
- run: |
git config --global core.autocrlf false
git config --global core.eol lf
if: runner.os == 'Windows'

- uses: actions/checkout@v4

- uses: denoland/setup-deno@v1.1.4
- uses: denoland/setup-deno@v2
with:
deno-version: "${{ matrix.deno_version }}"

Expand Down Expand Up @@ -126,11 +131,11 @@ jobs:
./mod.ts

- name: Test
run: deno task test:coverage
run: deno task test --coverage=cov
timeout-minutes: 15

- run: |
deno task coverage --lcov > coverage.lcov
deno coverage --lcov cov > coverage.lcov

- uses: codecov/codecov-action@v4
with:
Expand Down
18 changes: 3 additions & 15 deletions deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,15 @@
"./popup": "./popup/mod.ts",
"./variable": "./variable/mod.ts"
},
"exclude": [
".coverage/**"
],
"publish": {
"include": [
"**/*.ts",
"README.md",
"LICENSE"
],
"exclude": [
"**/*_test.ts",
".*"
]
"include": ["**/*.ts", "README.md", "LICENSE"],
"exclude": ["**/*_test.ts", ".*"]
},
"imports": {
"@core/asyncutil": "jsr:@core/asyncutil@^1.2.0",
"@core/unknownutil": "jsr:@core/unknownutil@^4.3.0",
"@denops/core": "jsr:@denops/core@^8.0.0",
"@denops/test": "jsr:@denops/test@^3.0.4",
"@denops/test": "jsr:@denops/test@^4.0.0",
"@lambdalisue/errorutil": "jsr:@lambdalisue/errorutil@^1.1.1",
"@lambdalisue/itertools": "jsr:@lambdalisue/itertools@^1.1.2",
"@lambdalisue/unreachable": "jsr:@lambdalisue/unreachable@^1.0.1",
Expand Down Expand Up @@ -94,8 +84,6 @@
"check": "deno check ./**/*.ts",
"check:doc": "deno test --doc --no-run",
"test": "deno test -A --parallel --shuffle",
"test:coverage": "deno task test --coverage=.coverage",
"coverage": "deno coverage .coverage",
"gen:function": "deno run -A ./.scripts/gen-function/gen-function.ts",
"gen:option": "deno run -A ./.scripts/gen-option/gen-option.ts",
"gen": "deno task gen:function && deno task gen:option && deno fmt",
Expand Down
Loading