-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add kcl language server install script tests.
Signed-off-by: peefy <[email protected]>
- Loading branch information
Showing
3 changed files
with
69 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: script-kcl-lsp | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
check-macos: | ||
strategy: | ||
matrix: | ||
os: [macos-11, macos-12, macos-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Check Install Script KCL Language Server | ||
run: static/script/install-kcl-lsp.sh | ||
- name: Check run | ||
shell: bash -leo pipefail {0} | ||
run: sudo kcl-language-server version | ||
|
||
check-linux: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-20.04, ubuntu-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Check Install Script KCL Language Server | ||
run: static/script/install-kcl-lsp.sh | ||
- name: Check run | ||
shell: bash -ieo pipefail {0} | ||
run: kcl-language-server version | ||
|
||
check-windows: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Check Install Script KCL Language Server | ||
run: static/script/install-cli.ps1 | ||
- name: Check run | ||
run: C:\kclvm\bin\kcl-language-server.exe version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters