Make DocumentSyncListener more efficient if no server is running #4944
Workflow file for this run
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
name: main | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- ".github/workflows/docs.yml" | |
- "docs/**" | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- ".github/workflows/docs.yml" | |
- "docs/**" | |
jobs: | |
Unittesting: | |
name: Unittesting (${{ matrix.os }}) | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- macOS-latest | |
- windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: SublimeText/UnitTesting/actions/setup@v1 | |
- uses: SublimeText/UnitTesting/actions/run-tests@v1 | |
with: | |
coverage: true | |
Lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8' | |
- run: sudo apt update | |
- run: sudo apt install --no-install-recommends -y x11-xserver-utils | |
- run: pip3 install mypy==1.7.1 flake8==5.0.4 pyright==1.1.381 orjson==3.10.7 --user | |
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH | |
- run: mypy stubs | |
- run: flake8 plugin tests | |
- run: pyright plugin |