Skip to content

fix(node): improve handling on "broken" Windows installations #159

fix(node): improve handling on "broken" Windows installations

fix(node): improve handling on "broken" Windows installations #159

Workflow file for this run

name: main
on:
push:
branches:
- master
paths-ignore:
- ".github/workflows/docs.yml"
- "docs/**"
pull_request:
branches:
- master
paths-ignore:
- ".github/workflows/docs.yml"
- "docs/**"
jobs:
Unittesting:
name: Unittesting (ST${{ matrix.sublime-text.version }}, ${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macOS-latest"]
sublime-text:
- version: 3
lsp-tag: 'st3'
- version: 4
lsp-tag: 'main'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-node@v2
with:
node-version: '14'
- uses: actions/checkout@v2
- uses: SublimeText/UnitTesting/actions/setup@v1
with:
sublime-text-version: ${{ matrix.sublime-text.version }}
extra-packages: |
sublimelsp/LSP@${{ matrix.sublime-text.lsp-tag }}
sublimelsp/LSP-pyright
- uses: SublimeText/UnitTesting/actions/run-tests@v1
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
path: lsp_utils
- uses: actions/setup-python@v2
with:
python-version: '3.8'
- run: sudo apt update
- run: sudo apt install --no-install-recommends -y x11-xserver-utils
- run: pip3 install mypy==0.982 flake8==5.0.4 pyright==1.1.274 --user
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH
- run: cd .. && git clone https://github.com/sublimelsp/LSP.git
- run: cd .. && git clone https://github.com/SublimeText/sublime_lib.git
- run: mypy st3/lsp_utils
- run: flake8 st3/lsp_utils tests
- run: pyright st3/lsp_utils